import { HttpResponse } from '@angular/common/http'; import 'reflect-metadata'; import { Observable } from 'rxjs'; import { Action, Column } from '../components/spiderly-data-table/spiderly-data-table.component'; import { SpiderlyTab } from '../components/spiderly-panels/panel-header/panel-header.component'; import { Codebook } from '../entities/codebook'; import { Filter } from '../entities/filter'; import { Namebook } from '../entities/namebook'; import { PrimengOption } from '../entities/primeng-option'; export declare function validatePrecisionScale(value: any, precision: number, scale: number, ignoreTrailingZeros: boolean): boolean; export declare function getMimeTypeForFileName(fileName: string): string; export declare function adjustColor(color: string, percent: number): string; export declare function getHtmlImgDisplayString64(base64String: string): string; export declare function nameof(obj: TObject, key: keyof TObject): string; export declare function nameof(key: keyof TObject): string; export declare function nameOf(funcOrClass: TObject): S; export declare function getParentUrl(currentUrl: string): string; export declare function getMonth(numberOfTheMonth: number): string; export declare function singleOrDefault(array: T[], predicate: (item: T) => boolean): T | undefined; export declare function pushAction(cols: Column[], action: Action): void; export declare function deleteAction(cols: Column[], actionField: string): void; export declare function getFileNameFromContentDisposition(resp: HttpResponse, defaultName: string): string; export declare function toCommaSeparatedString(input: T[]): string; export declare function isFileImageType(mimeType: string): boolean; export declare function isExcelFileType(mimeType: string): boolean; export declare function exportListToExcel(exportListToExcelObservableMethod: (filter: Filter) => Observable, filter: Filter): void; export declare function getPrimengDropdownNamebookOptions(getDropdownListObservable: (parentEntityId?: number) => Observable, parentEntityId?: number): Observable; export declare function getPrimengDropdownCodebookOptions(getDropdownListObservable: () => Observable): Observable; export declare function getPrimengAutocompleteNamebookOptions(getAutocompleteListObservable: (limit: number, query: string, parentEntityId?: number) => Observable, limit: number, query: string, parentEntityId?: number): Observable; export declare function getPrimengAutocompleteCodebookOptions(getAutocompleteListObservable: (limit: number, query: string) => Observable, limit: number, query: string): Observable; export declare const isNullOrEmpty: (input: string) => boolean; export declare const selectedTab: (tabs: SpiderlyTab[]) => number; export declare function firstCharToUpper(input: string): string; export declare function splitPascalCase(input: string): string; export declare function capitalizeFirstChar(str: string): string; export declare function kebabToTitleCase(input: string): string; /** * Custom styling of the google button - https://medium.com/simform-engineering/implement-custom-google-sign-in-using-angular-16-9c93aeff6252 */ export declare function createFakeGoogleWrapper(): { click: () => void; }; export declare const PROPS_KEY: unique symbol; export declare function ReflectProp(target: any, propertyKey: string): void; export declare const primitiveArrayTypes: string[]; export declare function getImageDimensions(file: File): Promise<{ width: number; height: number; }>;