import type { PolyNode } from '../client.js'; import type { StorageBackend } from './storage.js'; import type { BackfillProgress, EntityType } from './types.js'; export declare class BackfillOrchestrator { private readonly client; private readonly storage; private readonly ratePerSecond; private readonly maxPages; private readonly pageSize; private readonly onProgress?; private running; private timer; private _wakeResolve; private _loopDone; private _loopDoneResolve; constructor(client: PolyNode, storage: StorageBackend, opts: { ratePerSecond: number; maxPages?: number; pageSize?: number; onProgress?: (p: BackfillProgress) => void; }); start(): void; stop(): Promise; queueEntity(entityType: EntityType, entityId: string, label: string): void; private _loop; private _backfillEntity; private _fetchPage; private _emitProgress; private _sleep; /** Sleep that can be interrupted by _wake() — used for idle polling. */ private _idleSleep; private _wake; } //# sourceMappingURL=backfill.d.ts.map