import { ExplorerViewMode } from '../types'; type SortState = { key: 'name' | 'size' | 'type' | 'modified'; dir: 'asc' | 'desc'; }; export declare function useExplorerPreferences(): { viewStorageKey: string; viewByPath: Record; setViewByPath: import('react').Dispatch>>; sort: SortState; toggleSort: (key: "name" | "size" | "type" | "modified") => void; showFolders: boolean; toggleFolders: () => void; showHidden: boolean; toggleShowHidden: () => void; addrHistoryKey: string; addrHistory: string[][]; setAddrHistory: import('react').Dispatch>; }; export {};