/**
 * This file was auto-generated by Fern from our API Definition.
 */
import * as environments from "../../../../../../environments";
import * as core from "../../../../../../core";
import * as Merge from "../../../../..";
export declare namespace AsyncPassthrough {
    interface Options {
        environment?: core.Supplier<environments.MergeEnvironment | string>;
        apiKey: core.Supplier<core.BearerToken>;
        accountToken?: core.Supplier<string | undefined>;
    }
    interface RequestOptions {
        timeoutInSeconds?: number;
    }
}
export declare class AsyncPassthrough {
    protected readonly _options: AsyncPassthrough.Options;
    constructor(_options: AsyncPassthrough.Options);
    /**
     * Asynchronously pull data from an endpoint not currently supported by Merge.
     */
    create(request: Merge.ticketing.DataPassthroughRequest, requestOptions?: AsyncPassthrough.RequestOptions): Promise<Merge.ticketing.AsyncPassthroughReciept>;
    /**
     * Retrieves data from earlier async-passthrough POST request
     */
    retrieve(asyncPassthroughReceiptId: string, requestOptions?: AsyncPassthrough.RequestOptions): Promise<Merge.ticketing.RemoteResponse>;
    protected _getAuthorizationHeader(): Promise<string>;
}
