import type { PersistedClient } from '@tanstack/query-persist-client-core'; export interface IDBPersisterOptions { dbName: string; storeName: string; } /** * Creates an Indexed DB persister for Tanstack Query to persist API responses to IndexedDB * @see https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API */ export declare function createIDBPersister(idbValidKey: IDBValidKey, options: IDBPersisterOptions): { persistClient: (client: PersistedClient) => Promise; restoreClient: () => Promise; removeClient: () => Promise; };