import { ComplexMap } from '@dxos/util'; import { AccountKey, Authority, CID, DomainKey, DXN, RecordWithCid, RegistryClientBackend } from '../api'; import { Record as RawRecord } from '../proto'; /** * In-memory implementation of the registry client with statically specified records. * Useful for testing code which relies on the DXNS registry without connecting to a real node. */ export declare class MemoryRegistryClientBackend implements RegistryClientBackend { readonly authorities: Map; readonly resources: ComplexMap; readonly records: ComplexMap; getDomainKey(domainName: string): Promise; listAuthorities(): Promise; registerAuthority(owner: AccountKey): Promise; registerDomainName(domainName: string, owner: AccountKey): Promise; getResource(name: DXN): Promise; listResources(): Promise<[DXN, CID][]>; registerResource(name: DXN, cid: CID | undefined, owner: AccountKey): Promise; getRecord(cid: CID): Promise; listRecords(): Promise; registerRecord(record: RawRecord): Promise; } //# sourceMappingURL=memory-registry-client.d.ts.map