///
///
import * as React from 'react';
import { render } from '@testing-library/react';
import type { ContextOptions, QueryClientConfig, MutationOptions } from '..';
import { QueryClient } from '..';
export declare function renderWithClient(client: QueryClient, ui: React.ReactElement, options?: ContextOptions): ReturnType;
export declare const Blink: ({ duration, children, }: {
duration: number;
children: React.ReactNode;
}) => JSX.Element;
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 function expectType(_: T): void;
/**
* Assert the parameter is not typed as `any`
*/
export declare function expectTypeNotAny(_: 0 extends 1 & T ? never : T): void;
export declare function executeMutation(queryClient: QueryClient, options: MutationOptions): Promise;
export declare function setIsServer(isServer: boolean): () => void;
//# sourceMappingURL=utils.d.ts.map