export type Entries = { [K in keyof T]: [K, T[K]]; }[keyof T][]; export declare const asError: (error: unknown) => Error; export declare const isDefined: (item: Item | undefined) => item is Item; export declare const isError: (item: Error | Item) => item is Error; export declare const isTruthy: (item: false | 0 | Item | null | undefined) => item is Item; export declare const removeEmptyMembers: >(items: T) => T; export declare const separateErrors: (mixed: (Error | Item)[]) => [Error[], Item[]]; export type RequireAtLeastOne = { [K in Keys]-?: Partial>> & Required>; }[Keys] & Pick>; export declare const uniqueFromSources: (...sources: (T | T[] | undefined)[]) => T[]; export declare const parseJson: (text: string) => any;