import { Logger } from '@nestjs/common'; import { IUser } from '@metad/contracts'; export declare const getDummyImage: (width: number, height: number, letter: string) => string; export declare const getUserDummyImage: (user: IUser) => string; export declare function reflect(promise: any): any; /** * To calculate the last day of a month, we need to set date=0 and month as the next month. * So, if we want the last day of February (February is month = 1) we'll need to perform 'new Date(year, 2, 0).getDate()' */ export declare function getLastDayOfMonth(year: any, month: any): number; export declare function arrayToObject(array: any, key: any, value: any): any; export declare function unixTimestampToDate(timestamps: any, format?: string): string; export declare function convertToDatetime(datetime: any): string | Date; export declare function tempFile(prefix: any): Promise; export declare function getDateRange(startDate?: string | Date, endDate?: string | Date, type?: 'day' | 'week', isFormat?: boolean): { start: any; end: any; }; export declare function getDateRangeFormat(startDate: string | Date, endDate: string | Date, isFormat?: boolean): { start: any; end: any; }; export declare function vectorColor(value: string): string; export declare function loadYamlFile(filePath: string, logger?: Logger, ignoreError?: boolean, defaultValue?: T): T;