import { NavItem } from '../shared/hooks/shell/useNavRegistry'; /** * Deepest registered nav item whose path prefixes the current route — the label * the installed-app top bar shows. Matching is segment-aware, so `/workflows` * never claims `/workflows-archive`, and `exact` items (typically the product * overview) only match their own path. Returns `null` when nothing matches * (root, auth and plugin routes); callers fall back to the product name. */ export declare function findNavTitle(items: readonly NavItem[], pathname: string): string | null; /** * Route-tracking title for `NativeTopBar`. Pass the product name as the * fallback for routes the nav registry does not describe. */ export declare function useNativeTopBarTitle(pathname: string, fallback: string): string; //# sourceMappingURL=nativeTopBarTitle.d.ts.map