import { HttpParams } from '@angular/common/http'; import { Pagination } from './pagination-utility'; import { NgxSpinnerService } from 'ngx-spinner'; import { NgSnotifyService } from '../services/ng-snotify.service'; import * as i0 from "@angular/core"; export declare class FunctionUtility { static spinnerService: NgxSpinnerService; static snotify: NgSnotifyService; /** *Hàm tiện ích */ constructor(); /** * Check 1 string có phải empty hoặc null hoặc undefined ko. */ static checkEmpty(str: string): boolean; /** * Kiểm tra số lượng phần ở trang hiện tại, nếu bằng 1 thì cho pageNumber lùi 1 trang * @param pagination */ static calculatePagination(pagination: Pagination): void; /** * Thêm hoặc xóa class tác động vào id element trên DOM * * @param id * * @param className * * @param type => Value bằng true thì add class. Value bằng false thì xóa class */ static changeDomClassList(id: string, className: string, type: boolean): void; static toFormData(obj: any, form?: FormData, namespace?: string): FormData; /** * Append property HttpParams * * @param formValue */ static toParams(formValue: any): HttpParams; static exportExcel(result: Blob | string, fileName: string, type?: string): void; static print(result: Blob): void; static nextID(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }