import { WalletLoggerInterface } from '@bsv/sdk'; import type * as sdk from '../../sdk'; import { StorageProvider } from '../StorageProvider'; import { EntityProvenTxReq } from '../schema/entities'; export interface FailedInputReconciliationResult { checked: number; staleConfirmed: number; staleOutpoints: string[]; } /** * Conservatively quarantine every locally-owned input of a transaction after * Arcade supplies explicit missing-input/conflict evidence. This path is * deliberately independent of explorer or UTXO providers: a positive * broadcaster verdict is enough to stop the failed transaction from feeding * the same inputs into another action. A later validated mined proof remains * able to repair the transaction through the ordinary proof recovery path. */ export declare function quarantineReqInputs(req: EntityProvenTxReq, storage: StorageProvider, trx?: sdk.TrxToken, logger?: WalletLoggerInterface): Promise; /** * Keep only inputs created by a locally terminal parent unavailable after the * failed-child transition releases its allocations. Other inputs may still be * valid UTXOs and must remain reusable. */ export declare function quarantineReqInputsFromFailedParents(req: EntityProvenTxReq, failedParentTxids: string[], storage: StorageProvider, trx?: sdk.TrxToken, logger?: WalletLoggerInterface): Promise; /** * Ask the configured UTXO-provider collection to classify the request's local * inputs and mark only positively confirmed spent outputs unavailable. * Provider errors and a collection with no providers are inconclusive and * never count as spent. */ export declare function markConfirmedStaleReqInputs(req: EntityProvenTxReq, storage: StorageProvider, services: sdk.WalletServices, trx?: sdk.TrxToken, logger?: WalletLoggerInterface): Promise; //# sourceMappingURL=reconcileFailedTransactionInputs.d.ts.map