/** * Derive the 32-byte ed25519 public key from a 32-byte seed. * * The "seed" is the portal's raw secret — the SAME 32 bytes that serve as the * secp256k1 private key for EVM. ed25519 hashes the seed (clamped SHA-512) to * get its actual signing scalar, so the ed25519 key is independent of the * secp256k1 scalar even though both come from one secret. This is exactly the * derivation Phantom/Solflare perform on "import private key", so the address * this produces is recoverable there. */ export declare function getPublicKey(seed: Buffer | Uint8Array): Buffer; /** * Sign a message with the ed25519 key derived from `seed`. Returns the 64-byte * detached signature (R ‖ S). */ export declare function sign(message: Buffer | Uint8Array, seed: Buffer | Uint8Array): Buffer; /** Verify — used in tests and by callers that want to self-check a signature. */ export declare function verify(signature: Buffer | Uint8Array, message: Buffer | Uint8Array, publicKey: Buffer | Uint8Array): boolean; //# sourceMappingURL=ed25519.d.ts.map