export type CopyValues = Record; /** Register the app's copy. Accepts a nested object (flattened here) or a flat map. */ export declare function setCopySource(copy: unknown): void; /** Resolve a dot-path id to its string, or undefined if absent. */ export declare function resolveCopy(id: string): string | undefined; /** The current flat copy map (e.g. for an all-keys editor table later). */ export declare function getCopySource(): Record; /** * Replace `{token}` placeholders in a resolved string with values. * interpolate('Invest {amount} now', { amount: '1,000' }) -> 'Invest 1,000 now' * Unknown tokens are left intact. Shared by both `t()` and ``. */ export declare function interpolate(str: string, values?: CopyValues): string; /** * Resolve a dot-path id to its string, with optional `{token}` interpolation. * Falls back to the id itself when unregistered (mirrors ). Use for * props/attributes (placeholder, title, alt, aria-label) and interpolated text; * use for JSX children. */ export declare function t(id: string, values?: CopyValues): string;