import { type PsbtDocumentLimits } from "./document.js"; export declare class PsbtWireError extends Error { readonly name = "PsbtWireError"; } export interface PsbtWireLimits extends PsbtDocumentLimits { } export interface PsbtEntryFacts { keyType: number; keyDataBytes: number; valueBytes: number; } export interface PsbtMapFacts { kind: "global" | "input" | "output"; index: number; entryCount: number; entries: PsbtEntryFacts[]; } export interface PsbtWireFacts { format: "psbt"; psbtVersion: number; byteLength: number; sha256: string; inputCount: number; outputCount: number; mapCount: number; maps: PsbtMapFacts[]; } export declare function extractWireFacts(encoded: string, limits?: PsbtWireLimits): PsbtWireFacts; //# sourceMappingURL=wire-facts.d.ts.map