import { type PanelToolsItem, type PanelToolsToolId } from './panel-tools-types'; export declare function orderPanelToolsItems(items: PanelToolsItem[]): PanelToolsItem[]; export declare function isPanelToolsToolId(value: string | null): value is PanelToolsToolId; export declare function panelToolsRailPlacement(item: PanelToolsItem): 'header' | 'body' | 'footer'; export declare function reconcilePanelToolsAvailability(items: PanelToolsItem[], open: boolean, activeTool: PanelToolsToolId | ''): { open: boolean; activeTool: PanelToolsToolId | ''; removedTool: PanelToolsToolId | ''; }; export declare function shouldResyncPanelToolsItems(prev: PanelToolsItem[], next: PanelToolsItem[]): boolean; export type PanelToolsMotion = 'opening' | 'closing' | 'idle'; export interface PanelToolsTransitionStyle { transitionProperty: string; transitionDuration: string; transitionDelay: string; } /** Maximum computed time for the drawer's max-width transition, including delay. */ export declare function panelToolsDrawerTransitionMs(style: PanelToolsTransitionStyle): number; /** True when the drawer clip is fully closed — safe to skip painting slot content. */ export declare function panelToolsDrawerResting(open: boolean, motion: PanelToolsMotion): boolean; /** True only when the animated clip has reached the terminal width for its motion phase. */ export declare function panelToolsDrawerAtTerminal(width: number, targetWidth: number, motion: PanelToolsMotion): boolean; /** Toggle or switch rail tool selection — repeat activation closes the active tool. */ export declare function resolvePanelToolActivation(open: boolean, activeTool: PanelToolsToolId | '', id: PanelToolsToolId): { open: boolean; activeTool: PanelToolsToolId; selected: boolean; }; //# sourceMappingURL=panel-tools-utils.d.ts.map