import { PanelPosition, PanelResizeConfig } from './Panel.types'; type UsePanelResizeOptions = { resizeConfig?: PanelResizeConfig; position: PanelPosition; floatingRef: React.RefObject; /** * Overlay panels start closed: the floating element and resize handle don't mount until open. * useElementResize's listener-attach effect would otherwise run with a null handle ref and never * re-run (ref object identity is stable). When true, this hook tracks handle mount via callback * ref and re-applies the stored size each time the panel opens. */ requireMount?: boolean; /** When set, max resize bounds are derived from this element instead of the viewport. */ container?: HTMLElement; }; export declare const usePanelResize: ({ resizeConfig, position, floatingRef, requireMount, container, }: UsePanelResizeOptions) => { handleRef: (el: HTMLDivElement | null) => void; }; export {};