import { AxiosInstance, AxiosResponse } from 'axios';
import { Environment, Utility, XmlBuilder, BaseNFE } from '@nfewizard/shared';
import { GenericObject, LayoutNFe, NFe, ProtNFe } from '@nfewizard/types/nfe';
import { GerarConsultaImpl, NFEAutorizacaoServiceImpl, SaveFilesImpl } from '@nfewizard/types/shared';
import { Agent } from 'http';
export declare class NFEAutorizacaoService extends BaseNFE implements NFEAutorizacaoServiceImpl {
    xmlNFe: string[];
    constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
    protected gerarXml(data: NFe): string;
    protected salvaArquivos(_xmlConsulta: string, responseInJson: GenericObject, _xmlRetorno: AxiosResponse<any, any>, options?: Record<string, any>): GenericObject;
    private trataRetorno;
    /**
     * Método utilitário para criação do XML a partir de um Objeto
     */
    private anoMesEmissao;
    private calcularModulo11;
    private calcularDigitoVerificador;
    private validaDocumento;
    private gerarXmlNFeAutorizacao;
    protected callWebService(xmlConsulta: string, webServiceUrl: string, ContentType: string, action: string, agent: Agent): Promise<AxiosResponse<any, any>>;
    Exec(data: NFe | string): Promise<{
        success: boolean;
        xMotivo: GenericObject;
        xmls: {
            NFe: LayoutNFe;
            protNFe: ProtNFe;
        }[];
    }>;
}
export default NFEAutorizacaoService;
