export interface UseResizablePanelOptions {
    direction: 'horizontal' | 'vertical';
    defaultSize: number;
    minSize?: number;
    maxSize?: number;
    onResize?: (size: number) => void;
    storageKey?: string;
}
export interface UseResizablePanelReturn {
    size: number;
    isDragging: boolean;
    handleProps: {
        onMouseDown: React.MouseEventHandler;
        onDoubleClick: React.MouseEventHandler;
    };
    reset: () => void;
}
export default function useResizablePanel({ direction, defaultSize, minSize, maxSize, onResize, storageKey, }: UseResizablePanelOptions): UseResizablePanelReturn;
