/** Historical default retained only to identify untouched wallet baskets. */ export declare const LEGACY_MANAGED_CHANGE_MINIMUM_SATOSHIS = 32; /** * Default liquidity policy for wallet-managed change. * * The preferred minimum is deliberately much larger than the dust threshold. * Dust answers "can this output ever be spent economically?"; this value * answers "is this output useful as an independently selectable liquidity * unit at contemporary fee rates?". */ export declare const DEFAULT_MANAGED_CHANGE_TARGET_UTXOS = 144; export declare const DEFAULT_MANAGED_CHANGE_MINIMUM_SATOSHIS = 5000; export declare const DEFAULT_MANAGED_CHANGE_MAX_OUTPUTS_PER_ACTION = 8; export declare const DEFAULT_MANAGED_CHANGE_MIGRATION_INPUTS_PER_ACTION = 4; export declare const DEFAULT_MANAGED_CHANGE_PENDING_COMPARISON_INPUTS = 16; export interface ManagedChangePolicy { /** Maximum change outputs created by one action while growing the pool; -1 is unlimited. */ maxOutputsPerAction: number; /** Maximum undersized, fee-positive inputs consumed only to improve the pool; -1 is unlimited. */ migrationInputsPerAction: number; /** * A completed-only plan above this input count is compared with pending * alternatives using exact BEEF bytes. This is a comparison trigger, never * a funding limit. -1 disables pending comparison until settled funding is * actually insufficient. */ pendingComparisonInputs: number; } export type ManagedChangePolicyOptions = Partial; export interface ManagedChangeBasketDefaults { name: string; numberOfDesiredUTXOs: number; minimumDesiredUTXOValue: number; } /** True only for the exact historical default that is safe to auto-upgrade. */ export declare function isLegacyManagedChangeBasketDefault(basket: ManagedChangeBasketDefaults): boolean; /** * Normalize a legacy default while retaining every other field and every * operator-selected non-default value. Used by migrations, sync, and restore. */ export declare function upgradeLegacyManagedChangeBasketDefault(basket: T): T; export declare function defaultManagedChangePolicy(): ManagedChangePolicy; export declare function validateManagedChangePolicy(options?: ManagedChangePolicyOptions): ManagedChangePolicy; //# sourceMappingURL=managedChangePolicy.d.ts.map