import type { RemitClient } from "@remit/backend/client"; import type { AccountItem } from "@remit/data-ports"; import type { Logger } from "@remit/logger"; /** * Collect attachment bytes the database does not know about. Both scheduler * entry points build it the same way, so the hosted tick and the self-host loop * collect identically — this is the only defence on the hosted side, where the * browser PUTs straight to block storage and nothing consults the database on * the way in. */ export declare const buildAttachmentSweep: (client: Pick, log: Logger) => ((account: AccountItem) => Promise);