type PaginationStyle = 'offset' | 'page';
type Fetcher<T> = (path: string, params: Record<string, unknown>, options?: {
    signal?: AbortSignal;
    rawQueryString?: string;
}) => Promise<T[]>;
type FetchDataByChunksParams<T> = {
    path: string;
    queryParams: Record<string, unknown>;
    chunkSize?: number;
    fetchLimit?: number;
    signal?: AbortSignal;
    paginationStyle?: PaginationStyle;
    fetcher?: Fetcher<T>;
    rawQueryString?: string;
};
export declare const fetchDataByChunks: <T>({ path, queryParams, chunkSize, fetchLimit, signal, paginationStyle, fetcher, rawQueryString, }: FetchDataByChunksParams<T>) => Promise<T[]>;
export {};
//# sourceMappingURL=fetchDataByChunks.d.ts.map