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