import * as core from '@bitcoinerlab/descriptors-core'; import * as btc from '@scure/btc-signer'; import { HDKey } from '@scure/bip32'; import { secp256k1 } from '@noble/curves/secp256k1.js'; export type { Expansion, ExpansionMap, KeyExpressionParser, KeyInfo, Preimage, TimeConstraints, TreeNode, TapTreeNode, TapTreeInfoNode, TapLeaf, TapLeafInfo, OutputInstance, OutputConstructor, Network } from '@bitcoinerlab/descriptors-core'; export { networks, checksum, signers, keyExpressionBIP32, scriptExpressions } from '@bitcoinerlab/descriptors-core'; export { btc, HDKey, secp256k1 }; export declare const Output: new ({ descriptor, index, change, checksumRequired, allowMiniscriptInP2SH, network, preimages, signersPubKeys, taprootSpendPath, tapLeaf }: { descriptor: string; index?: number; change?: number; checksumRequired?: boolean; allowMiniscriptInP2SH?: boolean; network?: core.Network; preimages?: core.Preimage[]; signersPubKeys?: Uint8Array[]; taprootSpendPath?: "key" | "script"; tapLeaf?: Uint8Array | string; }) => { readonly "__#private@#payment": import("../../../dist/bitcoinLib").Payment; readonly "__#private@#preimages": core.Preimage[]; readonly "__#private@#signersPubKeys"?: Uint8Array[]; readonly "__#private@#miniscript"?: string; readonly "__#private@#witnessScript"?: Uint8Array; readonly "__#private@#redeemScript"?: Uint8Array; readonly "__#private@#isSegwit"?: boolean; readonly "__#private@#isTaproot"?: boolean; readonly "__#private@#expandedExpression"?: string; readonly "__#private@#expandedMiniscript"?: string; readonly "__#private@#tapTreeExpression"?: string; readonly "__#private@#tapTree"?: core.TapTreeNode; readonly "__#private@#tapTreeInfo"?: core.TapTreeInfoNode; readonly "__#private@#taprootSpendPath": "key" | "script"; readonly "__#private@#tapLeaf"?: Uint8Array | string; readonly "__#private@#expansionMap"?: core.ExpansionMap; readonly "__#private@#network": core.Network; "__#private@#resolveMiniscriptSignersPubKeys"(): Uint8Array[]; "__#private@#assertMiniscriptSatisfactionResourceLimits"(scriptSatisfaction: Uint8Array): void; getScriptSatisfaction(signatures: import("../../../dist/bip174").PartialSig[]): { scriptSatisfaction: Uint8Array; nLockTime: number | undefined; nSequence: number | undefined; }; "__#private@#resolveTapTreeSignersPubKeys"(): Uint8Array[]; getTapScriptSatisfaction(signatures: import("../../../dist/bip174").PartialSig[]): import("../../../dist/tapMiniscript").TaprootLeafSatisfaction; "__#private@#getConstraints"(): { nLockTime: number | undefined; nSequence: number | undefined; tapLeafHash: Uint8Array | undefined; } | undefined; getPayment(): import("../../../dist/bitcoinLib").Payment; getAddress(): string; getScriptPubKey(): Uint8Array; getSequence(): number | undefined; getLockTime(): number | undefined; getTapLeafHash(): Uint8Array | undefined; getWitnessScript(): Uint8Array | undefined; getRedeemScript(): Uint8Array | undefined; getNetwork(): core.Network; isSegwit(): boolean | undefined; isTaproot(): boolean | undefined; guessOutput(): { isPKH: boolean; isWPKH: boolean; isSH: boolean; isWSH: boolean; isTR: boolean; }; inputWeight(isSegwitTx: boolean, signatures: import("../../../dist/bip174").PartialSig[] | "DANGEROUSLY_USE_FAKE_SIGNATURES", options?: { taprootSighash?: "SIGHASH_DEFAULT" | "non-SIGHASH_DEFAULT"; }): number; outputWeight(): number; updatePsbtAsInput({ psbt, txHex, txId, value, vout, rbf }: { psbt: import("../../../dist/bitcoinLib").PsbtLike | import("../../../dist/bitcoinLib").ScureTransactionLike; txHex?: string; txId?: string; value?: bigint; vout: number; rbf?: boolean; }): ({ psbt, validate }: { psbt: import("../../../dist/bitcoinLib").PsbtLike | import("../../../dist/bitcoinLib").ScureTransactionLike; validate?: boolean | undefined; }) => void; updatePsbtAsOutput({ psbt, value }: { psbt: import("../../../dist/bitcoinLib").PsbtLike | import("../../../dist/bitcoinLib").ScureTransactionLike; value: bigint; }): void; "__#private@#assertPsbtInput"({ psbt, index }: { psbt: import("../../../dist/bitcoinLib").PsbtLike | import("../../../dist/bitcoinLib").ScureTransactionLike; index: number; }): void; expand(): { expansionMap?: core.ExpansionMap; tapTreeInfo?: core.TapTreeInfoNode; tapTree?: core.TapTreeNode; tapTreeExpression?: string; expandedMiniscript?: string; miniscript?: string; expandedExpression?: string; }; }, parseKeyExpression: core.KeyExpressionParser, expand: (params: { descriptor: string; index?: number; change?: number; checksumRequired?: boolean; network?: core.Network; allowMiniscriptInP2SH?: boolean; }) => core.Expansion;