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<void>;
    splitBy: DurationObjectUnits;
    startDate: UnixTimestamp;
}
export declare function performInTimeChunks({ endDate, onChunk, splitBy, startDate }: PerformInTimeChunksOptions): Promise<void>;
