import { ChannelProvider } from './channel-provider';
import { IotaError } from '../validators/error';
import { PresentationSubmission, VerifiablePresentation } from '../validators/ssi';
export declare class IotaResponse {
    correlationId: string;
    verifiablePresentation: VerifiablePresentation;
    presentationSubmission: PresentationSubmission;
    constructor(correlationId: string, verifiablePresentation: VerifiablePresentation, presentationSubmission: PresentationSubmission);
}
export type IotaResponseCallbackFunction = (err: IotaError | null, data: IotaResponse | null) => void;
export declare class ResponseHandler {
    channelProvider: ChannelProvider;
    constructor(channelProvider: ChannelProvider);
    private getResponseHandler;
    getResponse(correlationId: string): Promise<IotaResponse>;
    getResponseWithCallback(correlationId: string, callback: IotaResponseCallbackFunction): void;
}
