import type * as Engine from '../core/Engine.js'; import type * as Errors from '../core/Errors.js'; export * from '../core/Mnemonic.js'; /** * Creates a Node.js implementation of the [`Mnemonic`](/api/Mnemonic) engine * slot, without installing it. * * Most callers want [`Engine.install`](/node/crypto/Engine/install) instead, * which installs every implementation this entrypoint provides. Reach for this * to install or hold the `Mnemonic` slot on its own. * * @example * ```ts twoslash * // @noErrors * import { Engine } from 'ox' * import { Mnemonic } from 'ox/node' * * await Engine.install({ Mnemonic: Mnemonic.engine() }) * * Mnemonic.toSeed( * 'test test test test test test test test test test test junk' * ) * ``` * * @returns The raw `Mnemonic` engine slot. */ export declare function engine(): Promise; export declare namespace engine { /** Every `Mnemonic` primitive this module implements. */ type ReturnType = { [key in 'toSeed']-?: NonNullable; }; type ErrorType = Errors.GlobalErrorType; } //# sourceMappingURL=Mnemonic.d.ts.map