declare const DATA_TYPE_NUMBER = "number"; declare const DATA_TYPE_STRING = "string"; declare const DATA_TYPE_BOOLEAN = "boolean"; declare const DATA_TYPE_JSON = "json"; declare const DATA_TYPE_ARRAY = "array"; declare const DATA_TYPE_OBJECT = "object"; declare const DATA_TYPE_INTEGER = "integer"; export type DataType = typeof DATA_TYPE_NUMBER | typeof DATA_TYPE_STRING | typeof DATA_TYPE_BOOLEAN | typeof DATA_TYPE_JSON | typeof DATA_TYPE_ARRAY | typeof DATA_TYPE_OBJECT | typeof DATA_TYPE_INTEGER; export declare function parseValueByType(value: unknown, type: DataType): unknown; export { DATA_TYPE_ARRAY, DATA_TYPE_BOOLEAN, DATA_TYPE_INTEGER, DATA_TYPE_JSON, DATA_TYPE_NUMBER, DATA_TYPE_OBJECT, DATA_TYPE_STRING, }; export declare const toString: (v: unknown) => string | null; export declare const toNumber: (v: unknown) => number | null; export declare const toInteger: (v: unknown) => number | null; export declare const toBoolean: (v: unknown) => boolean | null; export declare const toArray: (v: unknown) => unknown[]; export declare const toObject: (v: unknown) => Record | null; export declare const toJson: (v: unknown) => unknown; //# sourceMappingURL=parse-value-by-type.d.ts.map