import { UnixTimestamp } from '@tmlmobilidade/types'; import { DurationObjectUnits } from 'luxon'; export interface PerformInTimeChunksItem { end: UnixTimestamp; index: number; start: UnixTimestamp; total: number; } export interface PerformInTimeChunksOptions { endDate?: UnixTimestamp; onChunk: (chunk: PerformInTimeChunksItem) => Promise; splitBy: DurationObjectUnits; startDate: UnixTimestamp; } export declare function performInTimeChunks({ endDate, onChunk, splitBy, startDate }: PerformInTimeChunksOptions): Promise;