export declare const sign: (x: number) => number; /** * Get value of an object property/path even if it's nested */ export declare function getValueByPath(obj: any, path: string): { [x: string]: any; }; /** * Extension of indexOf method by equality function if specified */ export declare function indexOf(array: string | any[], obj: any, fn: (arg0: any, arg1: any) => any): number; /** * Merge function to replace Object.assign with deep merging possibility */ /** * Mobile detection * https://www.abeautifulsite.net/detecting-mobile-devices-with-javascript */ export declare function removeElement(el: { remove: () => void; parentNode: { removeChild: (arg0: any) => void; }; }): void; /** * Escape regex characters * http://stackoverflow.com/a/6969486 */ export declare function escapeRegExpChars(value: string): string; export declare function escapeRegExp(value: { source: any; replace: (arg0: RegExp, arg1: string) => any; }): any;