declare const SIDEBAR_DRILL_IN_WIDTH_KEY = "shell:sidebar-drill-in-width"; declare const SIDEBAR_DRILL_IN_WIDTH_DEFAULT = 280; declare const SIDEBAR_DRILL_IN_WIDTH_MIN = 216; declare const SIDEBAR_DRILL_IN_WIDTH_MAX = 400; declare const SIDEBAR_PRIMARY_WIDTH_KEY = "shell:primary-sidebar-width"; /** Matches `SidebarShell` / `SidebarProvider` default rail width (`16rem`). */ declare const SIDEBAR_PRIMARY_WIDTH_DEFAULT = 256; declare const SIDEBAR_PRIMARY_WIDTH_MIN = 200; declare const SIDEBAR_PRIMARY_WIDTH_MAX = 360; /** @deprecated Use {@link SIDEBAR_PRIMARY_WIDTH_DEFAULT} as px or `"16rem"`. */ declare const SIDEBAR_WIDTH_DEFAULT = "16rem"; /** Widen `--sidebar-width` while a SidebarDrillIn section is open (design system, tokens, …). */ declare function useSidebarDrillInWidth(enabled: boolean): { width: number; setWidth: (next: number) => void; resizeByDelta: (deltaPx: number) => void; }; /** Persist and apply expanded primary rail width when not in drill-in. */ declare function useSidebarPrimaryWidth(enabled: boolean): { width: number; setWidth: (next: number) => void; }; export { SIDEBAR_DRILL_IN_WIDTH_DEFAULT, SIDEBAR_DRILL_IN_WIDTH_KEY, SIDEBAR_DRILL_IN_WIDTH_MAX, SIDEBAR_DRILL_IN_WIDTH_MIN, SIDEBAR_PRIMARY_WIDTH_DEFAULT, SIDEBAR_PRIMARY_WIDTH_KEY, SIDEBAR_PRIMARY_WIDTH_MAX, SIDEBAR_PRIMARY_WIDTH_MIN, SIDEBAR_WIDTH_DEFAULT, useSidebarDrillInWidth, useSidebarPrimaryWidth };