import type { IndexedOutput } from '@1sat/types'; import type { PrivateKey, WalletInterface } from '@bsv/sdk'; import type { TokenBalance } from './scanner'; /** Page size, select-page size, and createAction batch size for ordinal/OpNS sweeps. */ export declare const SWEEP_BATCH_SIZE = 25; export interface SweepResult { bsvTxid?: string; ordinalTxids: string[]; bsv21Txids: string[]; errors: string[]; /** Outpoints successfully swept (ordinals/OpNS). */ sweptOutpoints: string[]; } /** * Sweep BSV funding and ordinals into the connected wallet. * Ordinals are processed in batches of {@link SWEEP_BATCH_SIZE}; stops on first batch error. */ export declare function executeSweep(params: { wallet: WalletInterface; keys: Map; funding: IndexedOutput[]; ordinals: IndexedOutput[]; amount?: number; onProgress: (stage: string) => void; }): Promise; /** * Sweep a single BSV-21 token into the connected wallet. * Each token requires its own transaction since all inputs must share a tokenId. */ export declare function sweepBsv21Token(params: { wallet: WalletInterface; keys: Map; token: TokenBalance; onProgress: (stage: string) => void; }): Promise<{ txid?: string; error?: string; }>; //# sourceMappingURL=sweeper.d.ts.map