export declare const ELLIPSE = -1; /** * Checks if a number is between two numbers. * @param x The number to check. * @param nums The numbers to check against. * @returns A boolean. * @example * isBetween(2, [1, 3]) // true * isBetween(4, [1, 3]) // false */ export declare function isBetween(x: number, nums: number[]): boolean; export type GeneratePagesOpts = { pagesCount: number; currentPage: number; pagesToDisplay?: number; }; /** * Generates an array of pages based on the current page and the total number of pages. * @param pagesCount The total number of pages. * @param currentPage The current page. * @param toDisplay The total number of pages to display. * @returns An array of pages. */ export declare function generatePages(opts: GeneratePagesOpts): number[];