/** * Polyfill for requestAnimationFrame. * * @param {Function} callback The function to call when it's time. * @returns {number} */ export declare function requestAnimationFrame(callback: () => void): number; /** * Polyfill for cancelAnimationFrame. * * @param {number} id The request Id, generated by `requestAnimationFrame`. */ export declare function cancelAnimationFrame(id: number): void; /** * @returns {boolean} */ export declare function isTouchSupported(): boolean; /** * Checks if the environment that the code runs in is a browser. * * @returns {boolean} */ export declare function isCSR(): boolean; /** * Get string comparison function for sorting purposes. It supports multilingual string comparison base on Internationalization API. * * @param {string} [language] The language code used for phrases sorting. * @param {object} [options] Additional options for sort comparator. * @returns {*} */ export declare function getComparisonFunction(language?: string, options?: object): (a: string, b: string) => number;