import { MyoCloud } from "./MyoCloud"; import { CompletablePromise } from "uparsecjs"; import { AnnotatedKeyring } from "./AnnotatedKeyring"; import { AnnotatedKey } from "./AnnotatedKey"; import { CaseObject } from "./MapSerializer"; interface RegistrySource { tagsSalt?: Uint8Array; keyring: AnnotatedKeyring; storageKey: AnnotatedKey; } export declare class RegistryData extends CaseObject { source: RegistrySource; scramble(tag: string): Promise; static createNew(passwordStorageKey: AnnotatedKey): RegistryData; } export declare class Registry { #private; private cloud; readonly ready: CompletablePromise; private registryTag; private backupRegistryTag; private data; constructor(cloud: MyoCloud, passwordStorageKey: AnnotatedKey); private initialize; private createRegistryElement; _mainKeyring?: AnnotatedKeyring; get mainKeyring(): AnnotatedKeyring; get storageKey(): AnnotatedKey; scramble(tag: string): Promise; } export {};