import { QueryClient } from '@tanstack/react-query';
import type { StorageInterface } from '../utils/storageHelpers';
/**
 * Custom persistence adapter for TanStack Query using our StorageInterface
 */
export declare const createPersistenceAdapter: (storage: StorageInterface) => {
    persistClient: (client: any) => Promise<void>;
    restoreClient: () => Promise<any>;
    removeClient: () => Promise<void>;
};
/**
 * Create a QueryClient with offline-first configuration
 */
export declare const createQueryClient: (storage?: StorageInterface | null) => QueryClient;
/**
 * Clear persisted query cache
 */
export declare const clearQueryCache: (storage: StorageInterface) => Promise<void>;
//# sourceMappingURL=queryClient.d.ts.map