import type { App, ComputedRef } from 'vue'; export type LocaleControl = { /** Active locale narrowed to a supported catalog code. */ code: ComputedRef; /** Apply a locale; persistence is owned by vuecs when present. */ set: (input: string) => void; }; /** * Single control surface for the active UI locale. Prefers `@vuecs/locale`'s * manager (the source of truth — cookie persistence, `auto`/browser * resolution, `` sync, `Config['locale']`), and falls back to the * ilingo locale ref when vuecs-locale is absent. */ export declare function useLocaleControl(): LocaleControl; /** * One-way bridge that keeps the ilingo locale (driving authup's catalogs) in * sync with vuecs's resolved locale (the source of truth). No-op when * vuecs-locale is not installed — there ilingo is the source directly. */ export declare function syncTranslatorLocaleFromManager(app: App): void; //# sourceMappingURL=locale.d.ts.map