libresolver/dist/types.d.ts

26 lines
503 B
TypeScript

export interface ResolverOptions {
type: any;
customType?: string;
records: any[];
options: any;
}
export interface DNSResult {
records: any[];
error?: Error;
}
export interface DNSRecord {
type: string;
customType?: string;
value: string;
}
declare const DNS_RECORD_TYPE: {
A: string;
CNAME: string;
NS: string;
CONTENT: string;
TEXT: string;
ALL: string;
CUSTOM: string;
};
export { DNS_RECORD_TYPE };
//# sourceMappingURL=types.d.ts.map