libresolver/dist/types.d.ts

27 lines
477 B
TypeScript

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