/** * Creates a copy of the given object without the specified property. * * @param obj the source object * @param property the property to remove * * @returns the filtered object */ export declare function removeProperty(obj: T, property: string): T; /** * Immutably removes an item from the array. * * @param arr the source array * @param index the index to remove * * @return a new array without the entry */ export declare function removeItem(arr: any[], index: number): any[]; /** * Converts an array to a key-value object using the given key as index. * * @param arr the array to convert * @param key the array-item key to use as map key * * @returns the key-value object */ export declare function arrayToMap(arr: T[], key: keyof T): { [key: number]: T; }; /** * Converts a key-value object to a flat array. * * @param map the map to convert * * @returns the array */ export declare function mapToArray(map: { [key: number]: T; }): T[]; /** * Searches deeply for a property in an object using '.' as separator. * * @param obj the source object * @param pathString the property * * @returns the target property or null */ export declare function getPropertyByPath(obj: T, pathString: string): any; /** * Searches deeply for a property in an object using '.' as separator. * * @param obj the source object * @param pathString the property * * @returns the target property or null */ export declare function setPropertyByPath(obj: T, pathString: string, value: any): void; /** * Checks if a value is an absolute infinity. * * @param value the value to check * * @returns true if the value is an infinity. */ export declare function isInfinity(value: number): boolean; /** * Converts radians to degrees. * * @param rad the radians to convert * * @returns the degree value */ export declare function toDegree(rad: number): number; /** * Converts degrees to radians. * If degree is an inifinity, results in 0. * * @param degree the degrees to convert * * @returns the radians value */ export declare function toRad(degree: number): number; /** * Get the UNIX Timestamp of a given date. * * @param date the date to convert * * @returns the seconds of the date */ export declare function dateToSeconds(date: Date): number; export declare function hasArrayChanged(oldArr: any[], newArr: any[]): boolean; export declare function generateRandomString(size: number): string;