import { EventEmitter } from '../../stencil-public-runtime'; import type { ResizableContext, PanelState } from './types'; /** * Resizable panel group - container that manages layout direction and coordinates panel sizes * * @slot - Panels and handles * * @part group - The group container */ export declare class SekiResizablePanelGroup { el: HTMLElement; /** * Layout direction */ direction: 'horizontal' | 'vertical'; /** * ID for localStorage persistence (enables auto-save when set) */ autoSaveId?: string; /** * Disable all resize interactions */ disabled: boolean; /** * Set once the initial layout is in place (or the user has resized). From then * on, adding/removing a panel keeps the other panels' sizes instead of * recomputing everything from `default-size`. */ private layoutSettled; private panelElements; _panels: Map; _panelOrder: string[]; /** * Emitted when any panel size changes */ sekiLayoutChange: EventEmitter; /** * Internal event for direction changes */ sekiDirectionChange: EventEmitter<'horizontal' | 'vertical'>; /** * Internal: fired whenever `_resizableContext` is (re)published so panels and * handles that mounted before this group was defined can register late. * See utils/context-bridge.ts — no payload by design. */ contextChange: EventEmitter; /** * Context for child components */ _resizableContext: ResizableContext; handleDirectionChange(): void; handleDisabledChange(): void; componentWillLoad(): void; componentDidLoad(): void; private updateContext; private registerPanel; /** Panels can finish loading in any order; handle indices follow the DOM. */ private sortByDocumentOrder; private unregisterPanel; private getPanelSize; private getPanelOrder; private isCollapsed; private getPanelElement; private getHandleIndex; private getHandleRange; /** * Lay the panels out after the set changed. `addedId` is the panel that was * just registered (or whose constraints changed), if any. */ private distributeSizes; private resizePanels; private collapsePanel; private expandPanel; private emitLayoutChange; private saveLayout; private restoreLayout; render(): any; }