export declare enum ValueType { Undefined = "undefined", Null = "null", Boolean = "boolean", String = "string", Number = "number", Symbol = "symbol", Function = "function", Array = "array", Buffer = "buffer", Arguments = "arguments", Date = "date", Error = "error", RegExp = "regexp", Promise = "promise", WeakMap = "weakmap", WeakSet = "weakset", Map = "map", Set = "set", Int8Array = "int8array", Uint8Array = "uint8array", Uint8ClampedArray = "uint8clampedarray", Int16Array = "int16array", Uint16Array = "uint16array", Int32Array = "int32array", Uint32Array = "uint32array", Float32Array = "float32array", Float64Array = "float64array", BigInt64Array = "bigint64array", BigUint64Array = "biguint64array", Generator = "generator", Object = "object", MapIterator = "mapiterator", SetIterator = "setiterator", StringIterator = "stringiterator", ArrayIterator = "arrayiterator", GeneratorFunction = "generatorfunction" } /** * Returns a normalised string describing the type of the given value. * Extends `typeof` with finer-grained detection for arrays, buffers, * `arguments` objects, dates, errors, regular expressions, typed arrays, * Maps, Sets, WeakMaps, WeakSets, Promises, iterators, and generator objects. * * @param value - The value whose type is to be determined. * * @returns A `ValueType` enum member, or a lower-cased intrinsic tag string * (derived from `Object.prototype.toString`) for types not covered by the enum. */ export declare function typeOf(value: unknown): ValueType | string;