export { ArrayUtils } from './array-utils'; export { Prioritizeable } from './prioritizeable'; type UnknownObject = Record & { [K in keyof T]: unknown; }; export type Deferred = { [P in keyof T]: Promise; }; export type MaybeArray = T | T[]; export type MaybeNull = { [P in keyof T]: T[P] | null; }; export type MaybePromise = T | PromiseLike; export type MaybeUndefined = { [P in keyof T]?: T[P] | undefined; }; export type Mutable = { -readonly [P in keyof T]: T[P]; }; export type RecursivePartial = { [P in keyof T]?: T[P] extends (infer I)[] ? RecursivePartial[] : RecursivePartial; }; export declare function isBoolean(value: unknown): value is boolean; export declare function isString(value: unknown): value is string; export declare function isNumber(value: unknown): value is number; export declare function isError(value: unknown): value is Error; export declare function isErrorLike(value: unknown): value is Error; export declare function isFunction unknown>(value: unknown): value is T; /** * @returns whether the provided parameter is an empty JavaScript Object or not. */ export declare function isEmptyObject(obj: unknown): obj is object; export declare function isObject(value: unknown): value is UnknownObject; export declare function isUndefined(value: unknown): value is undefined; /** * @param value value to check. * @param every optional predicate ran on every element of the array. * @param thisArg value to substitute `this` with when invoking in the predicate. * @returns whether or not `value` is an array. */ export declare function isArray(value: unknown, every?: (value: unknown) => unknown, thisArg?: unknown): value is T[]; export declare function isStringArray(value: unknown): value is string[]; /** * Creates a shallow copy with all ownkeys of the original object that are `null` made `undefined` */ export declare function nullToUndefined(nullable: MaybeNull): MaybeUndefined; /** * Throws when called and statically makes sure that all variants of a type were consumed. */ export declare function unreachable(_never: never, message?: string): never; /** * @returns whether the provided parameter is defined. */ export declare function isDefined(arg: T | null | undefined): arg is T; /** * @returns whether the provided parameter is undefined or null. */ export declare function isUndefinedOrNull(obj: unknown): obj is undefined | null; //# sourceMappingURL=types.d.ts.map