interface PanelUiState { leftSideBarVisible: boolean; rightSideBarVisible: boolean; } export interface PanelUiAction { type: 'setUi'; ui: Partial; } export interface UseResponsivePanelsArgs { /** Current Puck `leftSideBarVisible`. */ leftVisible: boolean; /** Current Puck `rightSideBarVisible`. */ rightVisible: boolean; /** Puck's dispatch. Undefined until the store is ready. */ dispatch: ((action: PanelUiAction) => void) | undefined; } export declare function initialPanelUi(): PanelUiState; /** * Collapses the left panel then the right as the window narrows, and reopens * them as it widens again. * * Divergence from the last auto-dispatched value is how a user action is * detected, which covers every mutation path — the subheader toggles, Puck's own * in-panel collapse buttons, the AI panel's rail bridge — without threading a * flag through each handler. */ export declare function useResponsivePanels({ leftVisible, rightVisible, dispatch, }: UseResponsivePanelsArgs): void; export {};