import { Logger } from 'homebridge'; import { IErrorDetail } from 'ts-interface-checker'; export declare const MS = 1000; export declare function assertIsDefined(value: Type): asserts value is NonNullable; export declare function assertIsNotUndefined(value: Type): asserts value is Exclude; export declare function assertIsUndefined(value: unknown): asserts value is undefined; export declare function assertIsString(value: unknown): asserts value is string; export declare function assertIsNumber(value: unknown): asserts value is number; export declare function assertIsBoolean(value: unknown): asserts value is boolean; export declare function logError(log: Logger, when: string, err: unknown): void; export declare function formatMilliseconds(ms: number, maxParts?: number): string; export declare function formatSeconds(seconds: number, maxParts?: number): string; export declare function formatList(items: string[]): string; export declare function plural(count: number, noun: string | [string, string], showCount?: boolean): string; export declare function columns(rows: string[][], separator?: string): string[]; export declare function deepMerge(...objects: object[]): object; export declare function getValidationTree(errors: IErrorDetail[]): string[]; export declare function gcd(...values: number[]): number; //# sourceMappingURL=utils.d.ts.map