import type * as Bytes from '../Bytes.js'; import type * as Hex from '../Hex.js'; import * as PublicKey from '../PublicKey.js'; import * as Signature from '../Signature.js'; /** * Coerces a serialized or structured signature input into a structured * {@link ox#Signature.Signature} object. * * Accepts the existing structured form (pass-through), a hex string, or a * `Uint8Array` (delegates to `Signature.fromHex` / `Signature.fromBytes`). * * @internal */ export declare function normalizeSignature(value: Hex.Hex | Bytes.Bytes | Signature.Signature | Signature.Signature): Signature.Signature; /** * Coerces a serialized or structured public key input into a structured * {@link ox#PublicKey.PublicKey}. * * @internal */ export declare function normalizePublicKey(value: Hex.Hex | Bytes.Bytes | PublicKey.PublicKey): PublicKey.PublicKey; /** * Formats a structured {@link ox#Signature.Signature} as the requested * representation: the structured object (`'Object'`), serialized hex * (`'Hex'`), or serialized bytes (`'Bytes'`). * * @internal */ export declare function formatSignature(signature: Signature.Signature, as: 'Hex' | 'Bytes' | 'Object'): unknown; /** * Formats a structured {@link ox#PublicKey.PublicKey} as the requested * representation. * * @internal */ export declare function formatPublicKey(publicKey: PublicKey.PublicKey, as: 'Hex' | 'Bytes' | 'Object'): unknown; //# sourceMappingURL=cryptoIo.d.ts.map