UNPKG

apisearch

Version:
36 lines (35 loc) 738 B
/** * Aggregation constants */ export declare const RANGE_MINUS_INFINITE: any; export declare const RANGE_INFINITE: any; export declare const RANGE_SEPARATOR = ".."; /** * Filter class */ export declare class Range { /** * Strong to array * * @param string * * @returns {[number, number]} */ static stringToArray(string: string): [number, number]; /** * Array to string * * @param values * * @return {string} */ static arrayToString(values: [number, number]): string; /** * Create ranges * * @param from * @param to * @param incremental */ static createRanges(from: number, to: number, incremental: number): string[]; }