import { type IUiResizableSidebarState, type IUiResizableSidebarStateOptions } from "./types.js"; /** * Width of a collapsed sidebar that keeps a rail. Fixed so every rail in the application lines up. * * @internal */ export declare const UI_RESIZABLE_SIDEBAR_RAIL_WIDTH = 48; /** * Computes the width state of a resizable, collapsible sidebar and persists it in localStorage. * * @remarks * Every write is clamped to the current bounds, so an out-of-range width is never persisted or applied. * While collapsed the sidebar reports the rail width, or zero when it hides completely, and cannot be * resized; the expanded width is kept so that expanding restores it. * * @internal */ export declare function useUiResizableSidebarState({ widthStorageKey, collapsedStorageKey, minWidth, maxWidth, hasRail, minContentWidth, availableWidth, isResizable, isCollapsible, collapsedOverride, widthOverride, onUserChange, }: IUiResizableSidebarStateOptions): IUiResizableSidebarState; //# sourceMappingURL=useUiResizableSidebarState.d.ts.map