export declare enum RawType { STRING = "string", NUMBER = "number", BOOLEAN = "boolean", NULL = "null", UNDEFINED = "undefined", SYMBOL = "symbol" } export declare type Primitive = boolean | number | string | symbol | null | undefined; export default class Raw extends String { static isPrimitive(val: any): val is Primitive; static is(str: any): str is string; type: RawType; value: Primitive; constructor(val: Primitive); }