import { Result } from "../result"; import { ConstraintType } from "../type"; export type ValidTypeString = "undefined" | "object" | "boolean" | "number" | "bigint" | "string" | "symbol" | "function"; export declare class TypeOf extends ConstraintType { readonly typestring: ValidTypeString; constructor(t: ValidTypeString); check(val: any): Result; } export declare function typeOf(t: ValidTypeString): TypeOf;