import * as _angular_core from '@angular/core'; import { ElementRef } from '@angular/core'; import { NumberInput, BooleanInput } from '@angular/cdk/coercion'; declare class BrnResizablePanel { /** Unique ID for the panel. */ readonly id: _angular_core.InputSignal; /** Reference to the parent {@link BrnResizableGroup}. */ protected readonly _panelGroup: BrnResizableGroup; /** Host DOM element reference. */ readonly el: ElementRef; /** * The default size of the panel (percentage of container space). * - `undefined` → group decides initial size. * - Number → interpreted as percentage (0–100). */ readonly defaultSize: _angular_core.InputSignalWithTransform; /** The minimum size this panel can shrink to (percentage). */ readonly minSize: _angular_core.InputSignalWithTransform; /** The maximum size this panel can grow to (percentage). */ readonly maxSize: _angular_core.InputSignalWithTransform; /** Whether this panel can be collapsed entirely. */ readonly collapsible: _angular_core.InputSignalWithTransform; /** Reactive signal holding the current size of the panel. */ protected readonly _panelSize: _angular_core.WritableSignal; /** * CSS flex style for this panel, derived from its current size. * Format: `"flex-grow flex-shrink flex-basis"`. * * Before the group synchronizes the layout, falls back to {@link defaultSize} so the panel * paints at its intended size on the very first render instead of briefly flexing to an equal * share (e.g. 50/50) and then snapping to the configured size. Example: `"25 1 0"` means * 25% width (or height in vertical layout). */ protected readonly _flex: _angular_core.Signal; /** * Sets the size of the panel. * @param size New size (percentage of container space). */ setSize(size: number): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class BrnResizableGroup { /** The id of the BrnResizableGroup */ readonly id: _angular_core.InputSignal; /** Host element reference. */ private readonly _el; /** Layout direction, used to mirror horizontal resizing under RTL. */ private readonly _dir; /** Group orientation */ readonly direction: _angular_core.InputSignal<"horizontal" | "vertical">; /** @internal Access all the panels within the group */ readonly panels: _angular_core.Signal; /** event when resize starts */ readonly dragStart: _angular_core.OutputEmitterRef; /** event when resize ends */ readonly dragEnd: _angular_core.OutputEmitterRef; /** Resize panel group to the specified layout ([1 - 100, ...]). */ readonly layout: _angular_core.ModelSignal; /** Called when group layout changes */ readonly layoutChanged: _angular_core.OutputEmitterRef; private readonly _document; private readonly _zone; private _resizeRaf; private _pendingSizes; /** Tears down the in-flight drag (document listeners, queued frame, cursor); null when idle. */ private _stopResize; /** Panel order and sizes from the last layout applied to the rendered panels. */ private _knownPanels; private _appliedLayout; constructor(); private _synchronizePanelSizes; private _layoutsEquivalent; private _panelsEqual; startResize(handleIndex: number, event: MouseEvent | TouchEvent): void; private _handleResize; private _queueResize; private _endResize; updatePanelStyles(): void; private _getEventPosition; private _getContainerSize; collapsePanel(index: number): void; private _setLayout; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class BrnResizableHandle { /** Parent resizable group. */ private readonly _resizable; /** Host element reference. */ private readonly _el; /** Whether a visual handle is rendered inside the separator. */ readonly withHandle: _angular_core.InputSignalWithTransform; /** Whether the handle is disabled (not interactive). */ readonly disabled: _angular_core.InputSignalWithTransform; /** The direction of the resizable group (`horizontal` or `vertical`). */ protected readonly _direction: _angular_core.InputSignal<"horizontal" | "vertical">; /** Computed layout orientation based on the parent group. */ protected readonly _layout: _angular_core.Signal<"horizontal" | "vertical">; /** Always-current index of this handle relative to panels in the group. */ private get _handleIndex(); constructor(); private _getHandleIndex; protected _handleMouseDown(event: MouseEvent): void; protected _handleKeyDown(event: KeyboardEvent): void; private _getPanelContext; private _adjustSizes; private _moveToExtreme; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } export { BrnResizableGroup, BrnResizableHandle, BrnResizablePanel };