//#region src/index.d.ts export type Glob = string | readonly string[]; export declare const isArray: (a: unknown) => a is unknown[]; export declare const isObject: (a: unknown) => a is Record; export declare const isFunction: (a: unknown) => a is (...args: unknown[]) => unknown; export declare const isString: (a: unknown) => a is string; export declare const isNumber: (a: unknown) => a is number; export declare const isBoolean: (a: unknown) => a is boolean; export declare const isBigInt: (a: unknown) => a is bigint; export declare const isNull: (a: unknown) => a is null; export declare const isUndefined: (a: unknown) => a is undefined; export declare const isNullish: (a: unknown) => a is null | undefined; export declare const isDate: (a: unknown) => a is Date; export declare const isRegExp: (a: unknown) => a is RegExp; export declare const isError: (a: unknown) => a is Error; export declare const isSymbol: (a: unknown) => a is symbol; export declare const isMap: (a: unknown) => a is Map; export declare const isWeakMap: (a: unknown) => a is WeakMap; export declare const isSet: (a: unknown) => a is Set; export declare const isWeakSet: (a: unknown) => a is WeakSet; export declare const isClass: (a: unknown) => a is new (...args: unknown[]) => unknown; export declare const isPromise: (a: unknown) => boolean; export declare const isAsyncFunction: (a: unknown) => a is (...args: unknown[]) => Promise; export declare const isGlob: (value: unknown) => value is Glob; /** * Collection of type-checking functions. */ export declare const is: { isArray: typeof isArray; isObject: typeof isObject; isFunction: typeof isFunction; isString: typeof isString; isNumber: typeof isNumber; isBoolean: typeof isBoolean; isBigInt: typeof isBigInt; isNull: typeof isNull; isUndefined: typeof isUndefined; isNullish: typeof isNullish; isDate: typeof isDate; isRegExp: typeof isRegExp; isError: typeof isError; isSymbol: typeof isSymbol; isMap: typeof isMap; isWeakMap: typeof isWeakMap; isSet: typeof isSet; isWeakSet: typeof isWeakSet; isClass: typeof isClass; isPromise: typeof isPromise; isAsyncFunction: typeof isAsyncFunction; isGlob: typeof isGlob; }; /** * Wraps a value in an array when it is not already an array. * * @param arg The value to normalize. * @returns A new array containing the value when needed. */ export declare const arrayify: (arg?: T | readonly T[]) => T[]; //#endregion