import type { EvmSigner } from "./interface.js"; /** * EVM signer backed by Open Wallet Standard. * Keys never leave the OWS encrypted vault. */ export declare class OwsEvmSigner implements EvmSigner { private _address; private _walletName; private _passphrase; private constructor(); static create(walletName: string, passphrase?: string): OwsEvmSigner; getAddress(): string; signTypedData(domain: Record, types: Record>, value: Record): Promise; signMessage(message: string | Uint8Array): Promise; } /** * Normalize OWS signature output to canonical 65-byte hex (0x-prefixed). * * OWS may return the signature in two shapes depending on version: * (A) 65-byte hex with v already embedded — use as-is * (B) 64-byte hex (r+s only) + separate recoveryId — append v * * For shape B, recoveryId may be either canonical (27/28) or raw (0/1). * If raw, add 27 to canonicalize. */ export declare function canonicalizeOwsSignature(result: { signature: string; recoveryId?: number; }): string;