import type { IPollRequestBody, IPollResponse } from './interfaces/PactAPI'; import type { ClientRequestInit } from './local'; /** * Allows polling for one or more transaction results by request key. * Returns an Array of the transaction results we polled for. * If a transaction is missing, then it might still be in the mempool, or might have expired. * * @param requestBody - The request keys of transactions submitted to the server * that we want to know the results of. * Must be non-empty list. * @param apiHost - API host running a Pact-enabled server. * * @alpha */ export declare function poll(requestBody: IPollRequestBody, apiHost: string, confirmationDepth?: number, requestInit?: ClientRequestInit): Promise; //# sourceMappingURL=poll.d.ts.map