/** * Resolve a shell chrome label through the i18n service, with an English * fallback. * * `useI18n().t()` echoes the key back when there is no translation, which is * awkward at a call site — a missing key would render `nav.collapse` to the * user. This wraps that check once. * * const label = useShellLabel(); * label('nav.collapse', 'Collapse'); * * Used by the shell's own chrome (side nav, footer, breadcrumbs) so those * strings follow the active locale instead of being permanently English. * Components that already accept a label PROP should prefer the prop and fall * back to this, so a host can still override: * * const text = collapseLabel ?? label('nav.collapse', 'Collapse'); */ export declare function useShellLabel(): (key: string, fallback: string) => string; //# sourceMappingURL=useShellLabel.d.ts.map