import type { Identity } from "./identity.js"; export declare const SPHERE_FRAGMENTS: readonly ["public", "circle", "self"]; export type Sphere = (typeof SPHERE_FRAGMENTS)[number]; export declare function ed25519PublicKeyToMultibase(pk: Uint8Array): string; export declare function x25519PublicKeyToMultibase(pk: Uint8Array): string; export declare function multibaseToEd25519PublicKey(mb: string): Uint8Array; export declare function didAithosForRootKey(rootPk: Uint8Array): string; export declare function didUrlForSphere(rootDid: string, sphere: Sphere): string; export declare function didUrlForKex(rootDid: string, sphere: Sphere): string; export declare function parseDidAithos(did: string): { rootMultibase: string; fragment: string | null; }; export declare function signWithSphere(identity: Identity, sphere: Sphere, payload: Uint8Array): Uint8Array; export declare function sphereDidUrl(identity: Identity, sphere: Sphere): string; export declare function rootDid(identity: Identity): string;