import 'typings-global'; import * as interfaces from './cflare.interfaces'; export declare class CflareAccount { private authEmail; private authKey; constructor(); auth(optionsArg: { email: string; key: string; }): void; getZoneId(domainName: string): Promise; getRecord(domainNameArg: string, typeArg: interfaces.TRecord): Promise; createRecord(domainNameArg: string, typeArg: interfaces.TRecord, contentArg: string): Promise<{}>; removeRecord(domainNameArg: string, typeArg: interfaces.TRecord): Promise<{}>; updateRecord(domainNameArg: string, typeArg: string, valueArg: any): Promise<{}>; /** * list all records of a specified domain name * @param domainNameArg - the domain name that you want to get the records from */ listRecords(domainNameArg: string): Promise; /** * list all zones in the associated authenticated account * @param domainName */ listZones(domainName?: string): Promise; request(methodArg: string, routeArg: string, dataArg?: {}): Promise<{}>; private authCheck(); }