import { ViewerStrings } from './types.js'; /** Register (or override) the strings for a locale, e.g. `registerStrings('fr', fr)`. */ export declare function registerStrings(locale: string, strings: ViewerStrings): void; /** Resolve a locale to its strings, falling back to the base language, then English. */ export declare function resolveStrings(locale: string): ViewerStrings; /** Replace `{0}`, `{1}`, … placeholders in a template string. */ export declare function formatString(template: string, ...args: Array): string;