#!/usr/bin/env node import type { BankStats, PluginConfig } from "./types.js"; import { type BackfillCheckpoint, type BackfillPlanEntry } from "./backfill-lib.js"; interface BackfillRuntime { apiUrl: string; apiToken?: string; stop(): Promise; } export declare function filterEntriesForResume(entries: BackfillPlanEntry[], checkpoint: BackfillCheckpoint, resume: boolean): BackfillPlanEntry[]; export declare function splitResumeEntries(entries: BackfillPlanEntry[], checkpoint: BackfillCheckpoint, waitUntilDrained: boolean): { entriesToEnqueue: BackfillPlanEntry[]; alreadyEnqueuedKeys: string[]; }; export declare function applyDrainResults(checkpoint: BackfillCheckpoint, touchedEntriesByBank: Map, finalStatsByBank: Map, initialFailedOperationsByBank: Map): { completed: number; unresolved: number; warnings: string[]; }; export declare function createBackfillRuntime(pluginConfig: PluginConfig, explicitApiUrl?: string, explicitApiToken?: string): Promise; export declare function runCli(argv?: string[]): Promise; export declare function isDirectExecution(entrypoint?: string | undefined, moduleUrl?: string): boolean; export {};