/** * Shell Route Configuration * * Defines which routes should show or hide specific shell elements * (header, sidebar, footer, breadcrumb). * * This enables "shell-less" pages like login, signup, and public pages. */ export interface ShellRouteConfig { /** Route pattern - string for exact match, RegExp for pattern match */ pattern: string | RegExp; /** Show header (default: true) */ showHeader?: boolean; /** Show sidebar (default: true) */ showSidebar?: boolean; /** Show footer (default: true) */ showFooter?: boolean; /** Show breadcrumb (default: true) */ showBreadcrumb?: boolean; } /** * Default shell config - all elements visible */ export declare const DEFAULT_SHELL_CONFIG: Required>; /** * Common shell-less routes shared by all products. * Covers auth pages, OAuth callbacks, embed/print routes, etc. * * Order matters - first match wins. */ export declare const COMMON_SHELL_LESS_ROUTES: ShellRouteConfig[]; /** * Get shell configuration for a given pathname * * @param pathname - The current route pathname * @param routes - Shell route configurations (first match wins). Defaults to COMMON_SHELL_LESS_ROUTES. * @returns Shell configuration with visibility flags */ export declare function getShellConfig(pathname: string, routes?: ShellRouteConfig[]): Required>; /** * Check if a route is completely shell-less (no header, sidebar, footer, breadcrumb) */ export declare function isShellLessRoute(pathname: string, routes?: ShellRouteConfig[]): boolean; /** * Check if a route should show the sidebar */ export declare function shouldShowSidebar(pathname: string, routes?: ShellRouteConfig[]): boolean; /** * Check if a route should show breadcrumbs */ export declare function shouldShowBreadcrumb(pathname: string, routes?: ShellRouteConfig[]): boolean; //# sourceMappingURL=shellRoutes.d.ts.map