///
///
import type { MutationOptions, QueryClientConfig } from '@tanstack/query-core';
import { QueryClient } from '@tanstack/query-core';
export declare function createQueryClient(config?: QueryClientConfig): QueryClient;
export declare function mockVisibilityState(value: DocumentVisibilityState): jest.SpyInstance;
export declare function mockNavigatorOnLine(value: boolean): jest.SpyInstance;
export declare const mockLogger: {
log: jest.Mock;
warn: jest.Mock;
error: jest.Mock;
};
export declare function queryKey(): Array;
export declare function sleep(timeout: number): Promise;
export declare function setActTimeout(fn: () => void, ms?: number): NodeJS.Timeout;
/**
* Assert the parameter is of a specific type.
*/
export declare const expectType: (_: T) => void;
/**
* Assert the parameter is not typed as `any`
*/
export declare const expectTypeNotAny: (_: 0 extends 1 & T ? never : T) => void;
export declare const executeMutation: (queryClient: QueryClient, options: MutationOptions) => Promise;
export declare function setIsServer(isServer: boolean): () => void;
//# sourceMappingURL=utils.d.ts.map