import { ResizablePanelConfig, ResizablePanelState, ResizableStorageAdapter, ResizableStoragePanelData } from '../resizable_constants';
export type SavedPanelData = ResizableStoragePanelData;
export declare function validateStoredPanelSize(storedSize: number, containerSize: number, panelConfig: ResizablePanelConfig): number;
export declare function localStorageAdapter(key: string): ResizableStorageAdapter;
export declare function useResizableStorage(storageKeyOrAdapter: string | null, customAdapter?: ResizableStorageAdapter): {
    saveToStorage: (panels: ResizableStoragePanelData[] | ResizablePanelState[]) => void;
    loadFromStorage: () => ResizableStoragePanelData[] | null;
    loadFromStorageWithValidation: (panels: ResizablePanelState[]) => boolean;
    restorePanelFromStorage: (panel: ResizablePanelState, savedPanel: ResizableStoragePanelData) => void;
    clearStorage: () => void;
};
//# sourceMappingURL=useResizableStorage.d.ts.map