import type { WalletServices } from '../sdk/WalletServices.interfaces'; import type { TableOutput } from '../storage/schema/tables/TableOutput'; export type OutputUtxoVerdict = 'unspent' | 'spent' | 'unknown'; export interface OutputUtxoClassification { verdict: OutputUtxoVerdict; provider: string; error?: unknown; } type UtxoServices = Pick; export declare const UTXO_PROVIDER_MAX_CONCURRENCY = 4; export declare function mapWithConcurrency(values: T[], maxConcurrency: number, worker: (value: T, index: number) => Promise): Promise; /** * Classify an output without ever converting provider absence or failure into * positive spent evidence. This helper deliberately catches provider throws so * batch callers can finish classifying every candidate before deciding whether * a destructive operation is safe. */ export declare function classifyOutputUtxo(services: UtxoServices, output: TableOutput): Promise; /** * Convert an internal tri-state classification to the historical boolean * contract only when a provider supplied a conclusive answer. */ export declare function requireConclusiveUtxo(classification: OutputUtxoClassification): boolean; export {}; //# sourceMappingURL=classifyOutputUtxo.d.ts.map