import { UtxoReviewDiagnostics } from '../../storage/methods/reviewUtxoOutputs'; import { Monitor } from '../Monitor'; import { WalletMonitorTask } from './WalletMonitorTask'; export interface TaskReviewUtxosPageResult extends UtxoReviewDiagnostics { found: boolean; userId?: number; identityKey: string; mode: 'all' | 'change'; release: boolean; offset: number; pageLimit: number; sourceScanned: number; complete: boolean; nextOffset?: number; log: string; } /** * Use the reviewByIdentityKey method to scan the UTXOs of a specific user by * identity key. The scan is read-only unless the caller explicitly requests * release, and release remains blocked if any provider result is inconclusive. * Operator UIs should use reviewPageByIdentityKey: it bounds each provider * round-trip and may explicitly release only the conclusive spent subset while * reporting unknowns. * * The task itself is disabled and will not run on a schedule; review must be triggered manually by calling reviewByIdentityKey. */ export declare class TaskReviewUtxos extends WalletMonitorTask { static readonly taskName = "ReviewUtxos"; private static checkNowRequested; static get checkNow(): boolean; static set checkNow(value: boolean); triggerMsecs: number; userLimit: number; userOffset: number; tags: string[]; constructor(monitor: Monitor, triggerMsecs?: number, userLimit?: number, userOffset?: number, tags?: string[]); trigger(_nowMsecsSinceEpoch: number): { run: boolean; }; runTask(): Promise; reviewByIdentityKey(identityKey: string, mode?: 'all' | 'change', release?: boolean): Promise; reviewPageByIdentityKey(identityKey: string, mode?: 'all' | 'change', release?: boolean, pageLimit?: number, offset?: number): Promise; private emptyPage; /** * Report managed-change liquidity without changing it. Monitor deliberately * has no signing authority; progressive migration occurs only during a * caller-authorized createAction. */ reviewManagedChangeByIdentityKey(identityKey: string): Promise; private toUserLog; } //# sourceMappingURL=TaskReviewUtxos.d.ts.map