import { ITemplateFields } from "../create/templateProcessor";
import { ContractLocator } from "../commands/create";
export default class ABIToScript {
    private dir;
    private tokenAddress;
    private xmlDoc?;
    private contractsFromEvents;
    private domParser;
    constructor(dir: string, tokenAddress: ContractLocator);
    initFromHardHat(hardHat: string, contractABIs: string[]): Promise<void>;
    convertABI(abi: any): any;
    start(abi: any, contractName: string): Promise<void>;
    getABIFetchOption(templateDef: ITemplateFields[], values: any[]): boolean;
    private pickElementsToGenerate;
    private setValuesFromABI;
    postParse(xmlDoc: Node): void;
    private handleFunction;
    private appendToTS;
    private getEvent;
    private addEventContractObj;
    private getEventParams;
    private getDocument;
    private getEventContractObject;
    private parseFunctionToViewCard;
    private createCardFile;
    private infoCard;
    private formatAttribute;
    private getAttribute;
    private getData;
    private parseInputName;
    private processTemplateCard;
    private initCard;
    private capitaliseFirstChar;
    private checkValidity;
    private getAS;
    private getFirstOutputType;
    private getSyntax;
    private getOutputSyntax;
    private formInputBox;
    private isOnGenerationList;
    getABI(token: ContractLocator): Promise<any>;
    private getAPIValues;
    getLogicAddress(token: ContractLocator): Promise<string>;
    private finaliseLogicAddress;
    private delay;
    setupAPIRoutes(): void;
}
