import type { JWK } from 'gdc-common-utils-ts/models/jwk'; export type ResolveDidWebKeyAgreementJwkOptions = Readonly<{ fetchImpl?: typeof fetch; /** * Transport override for a local/private route serving the same DID document. * The returned document must still identify itself with the requested DID. */ didDocumentUrl?: string; }>; /** * Resolves the first public key-agreement JWK from a did:web document. * * The DID remains the recipient identity and the document remains the source * of its public keys. `didDocumentUrl` changes only the HTTP route used to * retrieve that same document, which is useful when a local GW publishes its * external DID while being reached through localhost. */ export declare function resolveDidWebKeyAgreementJwk(recipientDid: string, options?: ResolveDidWebKeyAgreementJwkOptions): Promise;