import type { DocumentNode } from 'graphql'; import type { Observable } from 'rxjs'; import type { OperationVariables, TypedDocumentNode } from '@apollo/client'; import { Apollo } from './apollo'; import type { EmptyObject } from './types'; import * as i0 from "@angular/core"; export declare namespace Mutation { type MutateOptions = Omit, 'mutation'>; } export declare abstract class Mutation { protected readonly apollo: Apollo; abstract readonly document: DocumentNode | TypedDocumentNode; client: string; constructor(apollo: Apollo); mutate(...[options]: {} extends TVariables ? [options?: Mutation.MutateOptions] : [options: Mutation.MutateOptions]): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵprov: i0.ɵɵInjectableDeclaration>; }