export function init(dom?: HTMLElement, ahead?: | { callback?: (result: any) => void }): Promise export function r(key: string, defaultValue?: any): any export const lang: { get current(): string, get unknownError(): string, get savedSuccessfully(): string }