import type { PoolClient, QueryResultRow } from 'pg'; interface ChunkedQueryOptions { chunkSize?: number; onProgress?: (processed: number, total: number) => void; } /** * Process database records in chunks to avoid memory issues with large datasets */ export declare function processInChunks(client: PoolClient, query: string, processor: (rows: T[]) => Promise, options?: ChunkedQueryOptions): Promise; /** * Update records in chunks with a transformer function */ export declare function updateInChunks(client: PoolClient, tableName: string, selectQuery: string, transformer: (row: T) => Promise | null>, options?: ChunkedQueryOptions): Promise; export {}; //# sourceMappingURL=chunkedQuery.d.ts.map