import { ActivatedRoute } from '@angular/router'; import { DataType } from './enums'; import { ResponseData } from './response'; import { HttpErrorResponse } from '@angular/common/http'; import { NgForm } from '@angular/forms'; import { IndividualConfig } from 'ngx-toastr'; import { ToastType } from './toastType'; export declare function getErrorMessage(error: HttpErrorResponse): string; export declare function showToast(response: ResponseData, title?: string): void; export declare function showMessageToast(toastType: ToastType, message?: string, title?: string): void; 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?: NgForm): 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 | null): Array; export declare function toInteger(value: any): number; export declare function toString(value: any): string; export declare function getValueInRange(value: number, max: number, min: number): 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: string): string; export declare function getDefaultValue(type: DataType): any; export declare function isValidType(type: DataType, value: any): boolean; export declare function assignProps(source: any, target: any, props: string[]): void; export declare function isPresent(obj: any): boolean; export declare function isDate(obj: any): boolean; export declare function getToastConfiguration(): Partial;