import { HaloItemRole } from '../types/HaloTypes'; export declare const DateTimeFormat = "YYYY/MM/DD HH:mm:ss"; export declare const DateFormat = "YYYY/MM/DD"; export declare const TimeFormat = "HH:mm:ss"; export type TranslaterFunction = (a: string) => string; export type StringFormatter = (value: string) => string; interface NamedObject { name: string; } export declare function camelToWords(name: string): string; export declare function toBool(value: unknown): boolean | undefined; export declare function toBoolDefault(value: unknown, defaultValue?: boolean): boolean; export declare function toDate(value: unknown, format?: string): Date | undefined; export interface Time { hour: number; minute: number; second: number; millisecond: number; } export declare function instanceOfTime(obj: unknown): obj is Time; export declare function msToTime(value: number): Time | undefined; export declare function secondsToTime(value: number): Time | undefined; export declare function stringToTime(value: string, format?: string): Time | undefined; export declare function dateToNumber(value?: Date | number | string | null, format?: string): number | undefined; export declare function timeToString(value: unknown, format?: string): string | undefined; export declare function dateToString(value: unknown, format?: string): string | undefined; export declare function dateTimeToString(value: unknown, format?: string): string | undefined; export declare function formatTimespan(value?: string): string | undefined; export declare function appendParamsToUrl(url: string, args: string | Record | Array>, replaceDuplicates?: boolean): string; export declare function convertTo(value: unknown, dataType?: string, roles?: HaloItemRole | Array): unknown; export declare function defaultValue(dataType?: string): any; export declare function timestamp(): string; export declare function toViewModel(data?: Record, names?: Array): Record; export declare function addDays(value: string, days: number): string; export declare function firstDayOfMonth(year?: number, month?: number): Date; export declare function lastDayOfMonth(year?: number, month?: number): Date; export declare function stringToArray(value: string, excludeBlank?: boolean, uniquify?: boolean): Array; export declare function linesToArray(value: string, excludeBlank?: boolean, uniquify?: boolean): Array; export declare function validateEmail(data: string): boolean; export declare function convertPercentValue(data: any, limit?: boolean): number | undefined; export declare function isNullOrWhiteSpace(str: string): boolean; export declare function onNullOrWhiteSpace(str: string, defaultStr: string): string; export {};