/** * Sweep Module * * Functions for sweeping assets from external wallets into a BRC-100 wallet. */ import type { IndexedOutput } from "../../services/types"; import type { OneSatContext, Skill } from "../skills/types"; import type { SweepBsv21Request, SweepBsv21Response, SweepBsvRequest, SweepBsvResponse, SweepInput, SweepOrdinalsRequest, SweepOrdinalsResponse } from "./types"; export * from "./types"; /** * Prepare sweep inputs from IndexedOutput objects by fetching locking scripts. * This extracts locking scripts from the raw transactions in BEEF format. */ export declare function prepareSweepInputs(ctx: OneSatContext, utxos: IndexedOutput[]): Promise; /** * Sweep BSV from external inputs into the destination wallet. * * If amount is specified, only that amount is swept and the remainder * is returned to the source address. If amount is omitted, all input * value is swept (minus fees). */ export declare const sweepBsv: Skill; /** * Sweep ordinals from external inputs into the destination wallet. * * Each input is expected to be a 1-sat ordinal output. Each ordinal is * transferred to a derived address using the wallet's key derivation. */ export declare const sweepOrdinals: Skill; /** * Sweep BSV-21 tokens from external inputs into the destination wallet. * * Consolidates all token inputs into a single output. All inputs must be * for the same tokenId. Creates a fee output to the overlay fund address. */ export declare const sweepBsv21: Skill; export declare const sweepSkills: (Skill | Skill | Skill)[];