import { Observable } from "rxjs";
import type { FetchResult, Operation } from "@apollo/client/link";
import { ApolloLink } from "@apollo/client/link";
export declare namespace MockSubscriptionLink {
    interface Result {
        result?: FetchResult;
        error?: Error;
        delay?: number;
    }
}
export declare class MockSubscriptionLink extends ApolloLink {
    unsubscribers: any[];
    setups: any[];
    operation?: Operation;
    private observers;
    constructor();
    request(operation: Operation): Observable<FetchResult>;
    simulateResult(result: MockSubscriptionLink.Result, complete?: boolean): void;
    simulateComplete(): void;
    onSetup(listener: any): void;
    onUnsubscribe(listener: any): void;
}
//# sourceMappingURL=mockSubscriptionLink.d.ts.map
