export declare const requestSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["protocol", "id", "operation", "payload"]; readonly properties: { readonly protocol: { readonly type: "string"; readonly const: "psbt-lab.adapter/0.2"; }; readonly id: { readonly type: "string"; readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"; }; readonly operation: { readonly type: "string"; readonly enum: readonly ["hello", "native-parse", "inspect", "roundtrip", "sign", "combine", "finalize", "finalize-inputs", "extract", "convert", "construct", "musig2-nonce", "musig2-partial-sign", "musig2-aggregate", "silent-payment-send", "silent-payment-send-advanced", "silent-payment-spend"]; }; readonly payload: { readonly type: "object"; readonly required: readonly []; readonly additionalProperties: true; }; }; }; export declare const responseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["protocol", "id", "status", "implementation"]; readonly properties: { readonly protocol: { readonly type: "string"; readonly const: "psbt-lab.adapter/0.2"; }; readonly id: { readonly type: "string"; readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"; }; readonly status: { readonly type: "string"; readonly enum: readonly ["ok", "unsupported", "rejected", "crashed", "timeout"]; }; readonly implementation: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["name", "version", "artifactDigest"]; readonly properties: { readonly name: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 128; }; readonly version: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 128; }; readonly artifactDigest: { readonly type: "string"; readonly pattern: "^sha256:[0-9a-f]{64}$"; }; readonly sourceRevision: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 256; }; }; }; readonly output: { readonly type: "object"; readonly required: readonly []; readonly additionalProperties: true; }; readonly error: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["class", "message"]; readonly properties: { readonly class: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 128; }; readonly message: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 2048; }; readonly retryable: { readonly type: "boolean"; }; }; }; }; readonly oneOf: readonly [{ readonly properties: { readonly status: { readonly const: "ok"; }; readonly output: { readonly type: "object"; readonly required: readonly []; readonly additionalProperties: true; }; readonly error: false; }; readonly required: readonly ["output"]; }, { readonly properties: { readonly status: { readonly enum: readonly ["unsupported", "rejected", "crashed", "timeout"]; }; readonly error: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["class", "message"]; readonly properties: { readonly class: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 128; }; readonly message: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 2048; }; readonly retryable: { readonly type: "boolean"; }; }; }; readonly output: false; }; readonly required: readonly ["error"]; }]; }; export declare const helloCapabilitiesSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["operations", "roles", "psbtVersions", "scriptTypes"]; readonly properties: { readonly operations: { readonly type: "array"; readonly minItems: 1; readonly maxItems: 17; readonly uniqueItems: true; readonly items: { readonly type: "string"; readonly enum: readonly ["hello", "native-parse", "inspect", "roundtrip", "sign", "combine", "finalize", "finalize-inputs", "extract", "convert", "construct", "musig2-nonce", "musig2-partial-sign", "musig2-aggregate", "silent-payment-send", "silent-payment-send-advanced", "silent-payment-spend"]; }; }; readonly roles: { readonly type: "array"; readonly minItems: 1; readonly maxItems: 7; readonly uniqueItems: true; readonly items: { readonly type: "string"; readonly enum: readonly ["parser", "updater", "signer", "combiner", "finalizer", "extractor", "constructor"]; }; }; readonly psbtVersions: { readonly type: "array"; readonly minItems: 1; readonly maxItems: 2; readonly uniqueItems: true; readonly items: { readonly type: "integer"; readonly enum: readonly [0, 2]; }; }; readonly scriptTypes: { readonly type: "array"; readonly minItems: 1; readonly maxItems: 7; readonly uniqueItems: true; readonly items: { readonly type: "string"; readonly enum: readonly ["p2pkh", "p2sh-p2wpkh", "p2sh-p2wsh", "p2wpkh", "p2wsh", "p2tr-keypath", "p2tr-scriptpath"]; }; }; readonly operationScriptTypes: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly []; readonly properties: { [k: string]: { type: string; maxItems: 7; uniqueItems: boolean; items: { type: string; enum: ("p2pkh" | "p2sh-p2wpkh" | "p2sh-p2wsh" | "p2tr-keypath" | "p2tr-scriptpath" | "p2wpkh" | "p2wsh")[]; }; }; }; }; readonly features: { readonly type: "array"; readonly maxItems: 64; readonly uniqueItems: true; readonly items: { readonly type: "string"; readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"; }; }; }; }; //# sourceMappingURL=schema-definitions.d.ts.map