type StorageType = 'local' | 'session'; export type UseStorageOptions = { storageType: StorageType; segregateByUser: boolean; }; declare const clearStaleExportModalEntries: (storage: Storage, currentKey: string) => void; declare const useStorage: (storageKey: string, initialStorageValue: TStorageState, options?: Partial) => [TStorageState | null, (nextStorageValue: TStorageState) => void, () => TStorageState | null]; export { useStorage, clearStaleExportModalEntries };