/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { AbstractControl, FormGroup } from '@angular/forms'; import { Data } from '@angular/router'; import { MediaBreakName } from 'ng-stalk/core/types'; import { Observable } from 'rxjs'; export declare function magDotNotate(obj: object, target?: object, prefix?: string): object; export declare class MagUtil { static compareStrings(str1?: string, str2?: string): number; /** * Generate a unique GUID */ static generateGUID(): string; static walk(root: any, path: string): any | undefined; static ns(parent: any, nsString: string): any; static dotNotate(obj: object, target?: object, prefix?: string): object; static parseRouteParams(data: Observable): any; static isGteMedia(currentMediaBreakName: MediaBreakName, than: MediaBreakName): boolean; static isGtMedia(currentMediaBreakName: MediaBreakName, than: MediaBreakName): boolean; static isLteMedia(currentMediaBreakName: MediaBreakName, than: MediaBreakName): boolean; static isLtMedia(currentMediaBreakName: MediaBreakName, than: MediaBreakName): boolean; static isEqMedia(currentMediaBreakName: MediaBreakName, than: MediaBreakName): boolean; static disableFields(formGroup: FormGroup, fieldNames: string[]): void; static enableFields(formGroup: FormGroup, fieldNames: string[]): void; static hasRequiredField(abstractControl: AbstractControl): boolean; static hashFnv32a(str: string, asString?: boolean, seed?: number): string | number; }