"use strict";
/**
 * Descriptor wallet utilities.
 * Moved from @bitgo/utxo-core.
 *
 * This module provides descriptor wallet functionality using wasm-utxo directly,
 * eliminating the need for utxo-lib in descriptor wallet code paths.
 *
 * ## Migration from utxo-core
 *
 * If you were previously importing from `@bitgo/utxo-core/descriptor`, you should
 * now import from `@bitgo/wasm-utxo`:
 *
 * ```typescript
 * // Before (deprecated)
 * import { DescriptorMap, createPsbt } from '@bitgo/utxo-core/descriptor';
 *
 * // After
 * import { descriptorWallet } from '@bitgo/wasm-utxo';
 * const { DescriptorMap, createPsbt } = descriptorWallet;
 * ```
 *
 * @see {@link ./MIGRATION.md} for detailed migration instructions.
 *
 * @remarks
 * The following imports from `@bitgo/utxo-core/descriptor` are now deprecated
 * and should use this module instead:
 * - DescriptorMap, toDescriptorMap
 * - createPsbt, parse, findDescriptorForInput, findDescriptorForOutput
 * - getDescriptorAtIndex, getDescriptorAtIndexCheckScript
 * - createScriptPubKeyFromDescriptor, createAddressFromDescriptor
 * - getVirtualSize, getVirtualSizeEstimateForPsbt
 * - signWithKey, getNewSignatureCount
 * - assertSatisfiable, getRequiredLocktime
 * - PatternMatcher
 */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Psbt = void 0;
// Core types and utilities
__exportStar(require("./Output.js"), exports);
__exportStar(require("./DescriptorMap.js"), exports);
__exportStar(require("./derive.js"), exports);
__exportStar(require("./DescriptorOutput.js"), exports);
__exportStar(require("./address.js"), exports);
__exportStar(require("./VirtualSize.js"), exports);
// PSBT utilities
__exportStar(require("./psbt/index.js"), exports);
// PSBT wrapper
var Psbt_js_1 = require("./Psbt.js");
Object.defineProperty(exports, "Psbt", { enumerable: true, get: function () { return Psbt_js_1.Psbt; } });
// Pattern matching
__exportStar(require("./parse/PatternMatcher.js"), exports);
