import { Guard, Awaitable, Falsy, Check } from '@mvdlei/types'; import { Email, UpperCased, LowerCased, Empty, Has, Quoted, Reverse, Reversed } from './string.js'; declare namespace T { namespace Guards { type IsString = Guard; type IsNumber = Guard; type IsNull = Guard; type IsUndefined = Guard; type IsBoolean = Guard; type IsBigInt = Guard; type IsSymbol = Guard; type IsObject = Guard; type IsFunction = Guard<(() => unknown) | Function | Awaitable>; type IsAny = Guard; type IsArray = Guard; type IsDate = Guard; type IsError = Guard; type IsPromise = Guard>; type IsFalsy = Guard; type Of = (c: C, v: unknown) => v is C; } namespace Is { type String = Check; type Number = Check; type Null = Check; type Undefined = Check; type Boolean = Check; type BigInt = Check; type Symbol = Check; type Object = Check; type Callable = Check unknown) | Function | Awaitable>; type Any = Check; type Array = Check; type Promise = Check>; type Of = Check; } namespace String { namespace Is { type Email = Email; type Upper = UpperCased; type Lower = LowerCased; type Empty = Empty; type Has = Has; type Quoted = Quoted; type Reverse = Reverse; type Reversed = Reversed; } } } export { T };