import { GetTokenDto, GetTokenResponse } from '../services/getToken/types';
import { ATVOptions, ConfirmationMessage, Mode, SendConfirmationInput, SendResponse } from './types';
import { Command, CreateAndSendDocumentResponse } from './useCases/createDocument/types';
import { CreateDocumentInput } from './core/CreateDocFactory';
export declare class ATV {
    readonly mode: Mode;
    readonly options: ATVOptions;
    constructor(options?: ATVOptions, mode?: Mode);
    getToken(params: GetTokenDto): Promise<GetTokenResponse>;
    createDocumentCommand(input: CreateDocumentInput): Promise<CreateAndSendDocumentResponse>;
    sendDocument(input: Command): Promise<SendResponse>;
    sendConfirmation(input: SendConfirmationInput): Promise<{
        status: number;
        state: any;
        errorCause: any;
        confirmation?: undefined;
        xml?: undefined;
    } | {
        status: number;
        confirmation: ConfirmationMessage;
        xml: string;
        errorCause: any;
        state?: undefined;
    } | {
        status: any;
        errorCause: any;
        state?: undefined;
        confirmation?: undefined;
        xml?: undefined;
    }>;
    private parseConfirmationMessage;
    private decodeBase64;
}
