import { Hex } from 'viem'; /** * Normalize a wallet-returned BTC public key to the canonical x-only * 64-char lowercase hex form (no 0x prefix). * * Throws on empty/non-string input. Idempotent on x-only input. */ export declare function normalizeXOnlyPubkey(raw: unknown): string; /** * Normalize a wallet-returned BIP-322 signature into 0x-prefixed hex. * * Accepts: * - 0x-prefixed lowercase/uppercase hex * - unprefixed hex (wins over base64 when input is pure `[0-9a-fA-F]+`) * - canonical standard base64 (`[A-Za-z0-9+/]` with `=` padding to a * multiple of 4 and no non-canonical encodings) * * Rejects URL-safe base64 (`-`/`_`) and base64 without padding. Wallets * known to return BIP-322 signatures (Keystone, UniSat, OKX, OneKey, * Unisat) all use standard base64; URL-safe is an explicit non-goal. */ export declare function normalizePopSignature(raw: unknown): Hex; //# sourceMappingURL=normalizeWalletInputs.d.ts.map