import type * as Engine from '../core/Engine.js'; import type * as Errors from '../core/Errors.js'; export * from '../core/P256.js'; /** * Creates a Node.js implementation of the [`P256`](/api/P256) engine slot, * without installing it. * * Node's other P256 operations do not reproduce Ox's recovered-signature and * compressed-shared-point contracts, so they remain on Ox's defaults. * * @example * ```ts twoslash * // @noErrors * import { Engine } from 'ox' * import { P256 } from 'ox/node' * * await Engine.install({ P256: P256.engine() }) * * P256.getPublicKey({ privateKey: '0x...' }) * ``` * * @returns The raw `P256` engine slot. */ export declare function engine(): Promise; export declare namespace engine { /** Every `P256` primitive this module implements. */ type ReturnType = { getPublicKey: NonNullable; }; type ErrorType = Errors.GlobalErrorType; } //# sourceMappingURL=P256.d.ts.map