import { IHttpClient } from "@paybyrd/http-client"; import { ILogger } from "@paybyrd/logger-js"; import { IPreAuthRequest, IChallengeService, IDirectoryServerService, IPostAuthResponse, IThreeDSecureOptions, IThreeDSecureService } from "./abstractions"; import { IObservable, IObserver } from "../observer/abstractions"; export declare class ThreeDSecureService implements IThreeDSecureService, IObservable { private readonly _options; private readonly _logger; private readonly _client; private readonly _directoryServer; private readonly _challenge; private readonly _observers; constructor(options: IThreeDSecureOptions, logger?: ILogger, httpClient?: IHttpClient, directoryServer?: IDirectoryServerService, challenge?: IChallengeService); subscribe(observer: IObserver): void; unsubscribe(observer: IObserver): void; execute(request: IPreAuthRequest, correlationId?: string): Promise; private preAuth; private auth; private postAuth; private reset; private notifyAll; private static getLoggerOptions; private static getHttpClientOptions; }