import type { KeyPair } from '../types/passport.js'; export declare function generateKeyPair(): KeyPair; export declare function sign(message: string, privateKeyHex: string): string; /** * Verify an Ed25519 signature over the UTF-8 bytes of `message`. * * The public key and the signature's R must be admissible: the canonical * encoding of a point that is not of small order. That is the behaviour on * which the two strict implementations in the APS family agree, libsodium in * agent-passport-python and ed25519-dalek verify_strict in * crates/aps-verifier-core, checked over a 2534 vector corpus that includes * the Wycheproof Ed25519 suite. Inadmissible key material is refused here so * no artifact verifier downstream can accept it. */ export declare function verify(message: string, signatureHex: string, publicKeyHex: string): boolean; export declare function publicKeyFromPrivate(privateKeyHex: string): string; //# sourceMappingURL=keys.d.ts.map