import type * as Engine from '../core/Engine.js'; import type * as Errors from '../core/Errors.js'; export * from '../core/Ed25519.js'; /** * Creates a Node.js implementation of the [`Ed25519`](/api/Ed25519) engine * slot, without installing it. * * Node's verifier does not implement Ox's ZIP-215 verification semantics, so * this engine deliberately omits `verify`. Public-key conversion and random * key generation also remain on Ox's default implementation. * * @example * ```ts twoslash * // @noErrors * import { Engine } from 'ox' * import { Ed25519 } from 'ox/node' * * await Engine.install({ Ed25519: Ed25519.engine() }) * * Ed25519.getPublicKey({ privateKey: '0x...' }) * ``` * * @returns The raw `Ed25519` engine slot. */ export declare function engine(): Promise; export declare namespace engine { /** Every `Ed25519` primitive this module implements. */ type ReturnType = { [key in 'getPublicKey' | 'sign' | 'toMontgomerySecret']-?: NonNullable; }; type ErrorType = Errors.GlobalErrorType; } //# sourceMappingURL=Ed25519.d.ts.map