import { AuthId } from '../../sdk/WalletStorage.interfaces'; import { type OutputUtxoClassification } from '../../services/classifyOutputUtxo'; import { StorageProvider } from '../StorageProvider'; import { TableOutput } from '../schema/tables/TableOutput'; export declare const MAX_UTXO_REVIEW_CANDIDATES = 10000; export declare const UTXO_REVIEW_PROVIDER_TIMEOUT_MSECS = 5000; export type UtxoReviewReleaseMode = 'none' | 'atomic' | 'conclusive'; export interface UtxoReviewClassification { output: TableOutput; status: OutputUtxoClassification; } export interface UtxoReviewDiagnostics { checked: number; confirmedUnspent: number; confirmedSpent: number; unknown: number; confirmedSpentSatoshis: number; released: number; releasedSatoshis: number; providers: string[]; providerCount: number; providersTruncated: boolean; } export interface ReviewUtxoOutputsResult { classifications: UtxoReviewClassification[]; confirmedSpentOutputs: TableOutput[]; unknownOutputs: TableOutput[]; diagnostics: UtxoReviewDiagnostics; } /** * Classify a bounded set of wallet outputs without treating provider failure as * proof that an output was spent. Read-only reviews always return their * conclusive and unknown partitions. Atomic release requires every verdict to * be conclusive; the operator-only conclusive mode releases the positively * spent subset while retaining and reporting unknowns. */ export declare function reviewUtxoOutputs(storage: StorageProvider, auth: AuthId, outputs: TableOutput[], releaseMode?: UtxoReviewReleaseMode): Promise; //# sourceMappingURL=reviewUtxoOutputs.d.ts.map