import { QueryParams } from "./server";
export declare function slice(array: Array<any>, start?: number, end?: number): any[];
/**
 * Creates an array of elements split into groups the length of `size`.
 * If `array` can't be split evenly, the final chunk will be the remaining
 * elements.
 *
 * @category Array
 * @param {Array} array The array to process.
 * @param {number} [size=1] The length of each chunk
 * @returns {Array} Returns the new array of chunks.
 * @example
 *
 * chunk(['a', 'b', 'c', 'd'], 2)
 * // => [['a', 'b'], ['c', 'd']]
 *
 * chunk(['a', 'b', 'c', 'd'], 3)
 * // => [['a', 'b', 'c'], ['d']]
 */
export declare function chunk(array: Array<any>, size?: number): any[][];
/**
 * Removes empty values from query params.
 * @param queryParams Query parameters object.
 */
export declare function cleanUpQueryParams(queryParams: QueryParams): void;
export declare function batchedGet(toBatch: string[], batchKey: string, path: string, batchSize?: number): Promise<(import("./interfaces").JsonDict | import("./interfaces").JsonDict[] | undefined)[]>;
