/**
 * Creates a slice of `array` from `start` up to, but not including, `end`.
 *
 *
 * @category Array
 * @param {Array} array The array to slice.
 * @param {number} [start=0] The start position. A negative index will be treated as an offset from the end.
 * @param {number} [end=array.length] The end position. A negative index will be treated as an offset from the end.
 * @returns {Array} Returns the slice of `array`.
 * @example
 *
 * var array = [1, 2, 3, 4]
 *
 * _.slice(array, 2)
 * // => [3, 4]
 */
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[][];
/**
 * Duplicates object with camel case
 * keys replaced by snake case keys
 *
 * @template V
 * @param {Record<string, V>} object
 * @return {Record<string, V>}
 */
export declare function snakeCaseObjectKeys<V>(object: Record<string, V>): Record<string, V>;
/**
 * Removes empty values from query params.
 * @param queryParams Query parameters object.
 */
export declare function cleanUpQueryParams(queryParams: QueryParams): void;
