import { nodeHash } from './types'; import { ResolutionResponse, SourceDefinition } from './index'; import NamingService from './NamingService'; import { CryptoRecords } from './publicTypes'; export default class Zns extends NamingService { constructor(source?: SourceDefinition); resolve(domain: string): Promise; owner(domain: string): Promise; records(domain: string, keys: string[]): Promise; allRecords(domain: string): Promise; twitter(domain: string): Promise; isSupportedDomain(domain: string): boolean; isSupportedNetwork(): boolean; childhash(parent: nodeHash, label: string): nodeHash; private sha256; resolver(domain: string): Promise; protected normalizeSource(source: SourceDefinition | undefined): SourceDefinition; private getRecordsAddresses; private getResolverRecords; private structureResolverRecords; private fetchSubState; private getContractField; private getContractMapValue; }