interface ErrorLike { message: string; name?: string; } export declare const isErrorLike: (value: unknown) => value is ErrorLike; /** * Returns true if `val` is not `null` or `undefined` */ export declare const isDefined: (value: T) => value is NonNullable; export declare function pluralize(string: string, count: number | bigint, plural?: string): string; /** * Return a filtered version of the given array, de-duplicating items based on the given key function. */ export declare const dedupeWith: (items: T[], key: keyof T | ((item: T) => string)) => T[]; export {}; //# sourceMappingURL=index.d.ts.map