/** * UI label loader utility * * Loads user-facing display strings from language-specific YAML files * (labels_en.yaml / labels_ja.yaml) and provides * key-based access with template variable substitution. * * This module handles UI labels only — AI prompts live in ../prompts/. */ import type { Language } from '../../core/models/types.js'; /** * Get a UI label string from the language-specific YAML by dot-separated key. * * When `lang` is provided, loads the corresponding language file. * When `lang` is omitted, uses DEFAULT_LANGUAGE. * * Template variables in `{name}` format are replaced when `vars` is given. */ export declare function getLabel(key: string, lang?: Language, vars?: Record): string; /** * Get a nested object from the language-specific YAML by dot-separated key. * * When `lang` is provided, loads the corresponding language file. * When `lang` is omitted, uses DEFAULT_LANGUAGE. * * Useful for structured label groups (e.g. UI text objects). */ export declare function getLabelObject(key: string, lang?: Language): T; /** Reset cached data (for testing) */ export declare function _resetLabelCache(): void; //# sourceMappingURL=index.d.ts.map