/** * Reusable accessible pane splitter for Crowdy Studio panes. Pointer drag plus * Arrow/Home/End keyboard resizing, mirroring the behavior games already ship * for the game/studio dock separator. */ export interface PaneSplitterRange { readonly min: number; readonly max: number; } export interface PaneSplitterOptions { /** `vertical` separators resize widths; `horizontal` separators heights. */ orientation: 'vertical' | 'horizontal'; /** * Where the sized pane sits relative to the separator in document order: * `before` (explorer to its left / panel above) grows as the pointer moves * right/down; `after` (right-hand or bottom panes) grows in the opposite * direction. */ pane: 'before' | 'after'; label: string; range(): PaneSplitterRange; getSize(): number; /** `commit` is true for the final size of a gesture (persist it). */ setSize(size: number, commit: boolean): void; } export interface PaneSplitterHandle { readonly element: HTMLDivElement; /** Re-sync ARIA values after external size or range changes. */ refresh(): void; dispose(): void; } export declare function createPaneSplitter(options: PaneSplitterOptions): PaneSplitterHandle; //# sourceMappingURL=splitter.d.ts.map