import type * as ReactTypes from "react"; import type { DocumentNode } from "graphql"; import type { DefaultContext, OperationVariables } from "../../core/types.js"; import type { OperationOption, MutateProps } from "./types.js"; import type { ApolloCache } from "../../core/index.js"; /** * @deprecated * Official support for React Apollo higher order components ended in March 2020. * This library is still included in the `@apollo/client` package, but it no longer receives feature updates or bug fixes. */ export declare function withMutation = {}, TGraphQLVariables extends OperationVariables = {}, TChildProps = MutateProps, TContext extends Record = DefaultContext, TCache extends ApolloCache = ApolloCache>(document: DocumentNode, operationOptions?: OperationOption): (WrappedComponent: ReactTypes.ComponentType) => ReactTypes.ComponentClass; //# sourceMappingURL=mutation-hoc.d.ts.map