import { ActivatedRoute } from "@angular/router"; import { DataType } from "./enums"; import { ResponseData } from "./response"; import { HttpErrorResponse } from "@angular/common/http"; export declare function getErrorMessage(error: HttpErrorResponse): string; export declare function isUnauthorized(error: HttpErrorResponse): boolean; export declare function JSONisUnauthorized(error: ResponseData): boolean; export declare function sumArray(items: any, prop: any): number; export declare function resetFormControls(form: any): void; export declare function replicate(num: number, charReplicate?: string, padding?: string, size?: number): string; export declare function replicateString(num: number, charReplicate?: string): string; export declare function floatToString(flt: number): string; export declare function getRandomNumber(min: number, max: number): number; export declare function createBreadcrumbs(currentRoute: ActivatedRoute): Array; export declare function toInteger(value: any): number; export declare function toString(value: any): string; export declare function getValueInRange(value: any, max: any, min: any): number; export declare function isString(value: any): boolean; export declare function isEmpty(obj: any): boolean; export declare function isNumber(value: any): boolean; export declare function isInteger(value: any): boolean; export declare function isDefined(value: any): boolean; export declare function padNumber(value: any): string; export declare function regExpEscape(text: any): any; export declare function getDefaultValue(type: DataType): any; export declare function isValidType(type: DataType, value: any): boolean; export declare function assignProps(source: any, targer: any, props: string[]): void; export declare function isPresent(obj: any): boolean; export declare function isDate(obj: any): boolean;