import { Ed25519PublicJwk } from "../kms/jwk/kty/okp/Ed25519PublicJwk.js";
import { X25519PublicJwk } from "../kms/jwk/kty/okp/X25519PublicJwk.js";
import { VerificationMethod } from "./domain/verificationMethod/VerificationMethod.js";
import { DidDocument } from "./domain/DidDocument.js";
import { PublicJwk } from "../kms/jwk/PublicJwk.js";

//#region src/modules/dids/findMatchingEd25519Key.d.ts

/**
 * Tries to find a matching Ed25519 key to the supplied X25519 key
 * @param x25519Key X25519 key
 * @param didDocument Did document containing all the keys
 * @returns a matching Ed25519 key or `undefined` (if no matching key found)
 */
declare function findMatchingEd25519Key(x25519Key: PublicJwk<X25519PublicJwk>, didDocument: DidDocument): {
  publicJwk: PublicJwk<Ed25519PublicJwk>;
  verificationMethod: VerificationMethod;
} | undefined;
//#endregion
export { findMatchingEd25519Key };
//# sourceMappingURL=findMatchingEd25519Key.d.ts.map