import { ApolloLink } from '@apollo/client'; import { Observer } from 'rxjs'; import type { RequestHandlerResponse } from './mockClient'; export interface IMockSubscription { next: (value: RequestHandlerResponse) => void; error: (errorValue: any) => void; complete: () => void; } export type MockSubscriptionOptions = { disableLogging?: boolean; }; export declare class MockSubscription implements IMockSubscription { private observer?; private loggingDisabled; private isComplete; constructor(options?: MockSubscriptionOptions); subscribe(observer: Observer>): void; next(value: RequestHandlerResponse): void; error(errorValue: any): void; complete(): void; private verifyState; } export declare const createMockSubscription: (options?: MockSubscriptionOptions) => IMockSubscription;