/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { AnyTabularStorage } from "../tabular/ITabularStorage"; /** * Backend-agnostic, page-based backfill loop. Iterates every row in the * storage in `batchSize`-row pages using cursor pagination so iteration * is stable under concurrent writes. * * For each row, calls `transform` and: * - if it returns the **same reference** as the input, skips the write * (the row is unchanged); * - if it returns `undefined`, deletes the row; * - otherwise, writes the new row via `put`. */ export declare function runBackfill(storage: AnyTabularStorage, batchSize: number, transform: (row: Record) => Promise | undefined> | Record | undefined): Promise; //# sourceMappingURL=runBackfill.d.ts.map