export type Hcs14RoutingParams = { registry?: string; proto?: string; nativeId?: string; uid?: string; domain?: string; src?: string; }; export type ParsedUaidDidTarget = { uaid: string; targetDid: string; routing: Record; }; /** * Parse a UAID DID-target: * uaid:did:;k=v;... * * Also supports UAID AID-target: * uaid:aid:;k=v;... * where (between ':' and ';') is the canonical agent identifier. * * Returns the reconstructed target DID (e.g. did:ethr:..., did:web:...). */ export declare function parseHcs14UaidDidTarget(rawUaid: string): ParsedUaidDidTarget; /** * Generate an HCS-14 UAID in DID-target form: * uaid:did::;uid=...;registry=...;proto=...;nativeId=...;domain=... * * This allows construction *before* ERC-8004 identity registration, since the * agent account DID (did:ethr) exists prior to minting the identity NFT. */ export declare function generateHcs14UaidDidTarget(params: { targetDid: string; routing: Hcs14RoutingParams; }): Promise<{ uaid: string; }>; //# sourceMappingURL=uaid.d.ts.map