1 | import { DocumentNode } from 'graphql';
|
2 | import { TypedDocumentNode } from '@graphql-typed-document-node/core';
|
3 | import { MutationHookOptions, MutationTuple } from '../types/types';
|
4 | import { ApolloCache, DefaultContext, OperationVariables } from '../../core';
|
5 | export declare function useMutation<TData = any, TVariables = OperationVariables, TContext = DefaultContext, TCache extends ApolloCache<any> = ApolloCache<any>>(mutation: DocumentNode | TypedDocumentNode<TData, TVariables>, options?: MutationHookOptions<TData, TVariables, TContext, TCache>): MutationTuple<TData, TVariables, TContext, TCache>;
|
6 | //# sourceMappingURL=useMutation.d.ts.map |
\ | No newline at end of file |