import * as React from "react";
import type { DefaultOptions } from "@apollo/client";
import type { Resolvers } from "@apollo/client";
import { ApolloClient } from "@apollo/client";
import type { ApolloCache } from "@apollo/client/cache";
import type { ApolloLink } from "@apollo/client/link/core";
import type { MockedResponse } from "@apollo/client/testing/core";
import { MockLink } from "@apollo/client/testing/core";
export interface MockedProviderProps {
    mocks?: ReadonlyArray<MockedResponse<any, any>>;
    defaultOptions?: DefaultOptions;
    cache?: ApolloCache;
    resolvers?: Resolvers;
    childProps?: object;
    children?: any;
    link?: ApolloLink;
    showWarnings?: boolean;
    mockLinkDefaultOptions?: MockLink.DefaultOptions;
    /**
     * If set to true, the MockedProvider will try to connect to the Apollo DevTools.
     * Defaults to false.
     */
    connectToDevTools?: boolean;
}
interface MockedProviderState {
    client: ApolloClient;
}
export declare class MockedProvider extends React.Component<MockedProviderProps, MockedProviderState> {
    constructor(props: MockedProviderProps);
    render(): React.JSX.Element | null;
    componentWillUnmount(): void;
}
export {};
//# sourceMappingURL=MockedProvider.d.ts.map
