import { ReactNode } from 'react'; import { User } from '../providers/shell/AuthProvider'; import { NavItem } from '../hooks/shell/useNavRegistry'; import { FooterItem } from '../hooks/shell/useFooterRegistry'; /** * AppInitializer Component * Initializes auth and active context when the application mounts. * Useful for integrating standalone MFE dev harnesses with the shell's providers. */ export interface AppInitializerProps { user: User | null; authToken: string; workspaceId: string | null; tenantId: string | null; projectId?: string | null; children: ReactNode; } export declare function AppInitializer({ user, authToken, workspaceId, tenantId, projectId, children, }: AppInitializerProps): import("react/jsx-runtime").JSX.Element; /** * Custom navigate hook wrapping React Router's useNavigate. * Wraps navigation in startTransition so React keeps the current UI * responsive while lazy-loaded route components are fetched. */ export declare function useShellNavigate(): (path: string) => void; /** * Registry helpers for navigation and footer items. * Returns functions to register/unregister nav and footer items * that MFE roots can use via their registerNavItems/registerFooterItems props. */ export declare function useRegistryHelpers(): { registerNavItems: (items: NavItem | NavItem[]) => () => void; registerFooterItems: (items: FooterItem | FooterItem[]) => () => void; }; //# sourceMappingURL=appHelpers.d.ts.map