export type ArkmeLocale = 'zh' | 'en'; interface LocaleSource { getLocale(): { active: string; }; subscribe(listener: () => void): () => void; } export declare const subscribeArkmeLocale: (listener: () => void) => () => void; export declare const getArkmeLocale: () => ArkmeLocale; export declare function resolveArkmeLocale(locale: string): ArkmeLocale; /** One language owner: the Harness preference. No second persisted preference, * component remount, network translation, theme mutation, or access to user-authored content. */ export declare function connectArkmeLocale(source: LocaleSource): () => void; export declare function useArkmeLocale(): ArkmeLocale; /** For application-owned copy only. Never pass messages, names or transcripts. */ export declare function tr(source: string, values?: Record): string; export declare const arkmeIntlLocale: () => string; export declare const calendarWeekdays: () => readonly string[]; /** Static copy can be retained in tables without freezing the active language. */ export declare function uiLabel(source: string): string; export {}; //# sourceMappingURL=locale.d.ts.map