/** * Public verification key loader for offline `peac verify --public-key`. * * Accepts either a bare public Ed25519 JWK or a single-key JWKS * (`{ "keys": [jwk] }`). Fails closed: rejects private key material, empty or * multi-key JWKS, non-Ed25519 keys, and malformed input. Error messages are * user-safe and never echo key material. * * Conversion and the base64url / 32-byte length check reuse the canonical * `jwkToPublicKeyBytes()` from `@peac/crypto`; this module only handles file * shape, container selection, and the private-key guard. */ /** * Parse the contents of a public-key file into raw Ed25519 public key bytes. * * @param content - UTF-8 contents of the public-key file (bare JWK or single-key JWKS). * @returns The 32-byte Ed25519 public key. * @throws Error with a user-safe message on any invalid / unsupported input. */ export declare function parsePublicKey(content: string): Uint8Array; //# sourceMappingURL=public-key.d.ts.map