/** * Harvest Runner * * Shared pagination and batch harvesting logic used by all sources. * Eliminates duplicate harvest implementations across sources. */ import type { HarvestConfig, HarvestResult } from './types.js'; /** * Run a harvest operation with consistent pagination handling * * Supports three pagination modes: * - 'offset': Numeric offset (PROV, GHAP) * - 'cursor': String-based cursor (Trove) * - 'page': Page numbers (Museums Victoria) */ export declare function runHarvest(source: string, query: string, config: HarvestConfig): Promise>; /** * Calculate pagination info for response formatting */ export declare function formatPaginationInfo(harvested: number, total: number, hasMore: boolean, nextCursor?: string | number): { harvested: number; totalAvailable: number; hasMore: boolean; nextOffset?: string; }; //# sourceMappingURL=harvest-runner.d.ts.map