import { ModelOptions } from "./model/options"; import { ValidateError } from "./manager/validate"; import { model } from "./model/model"; import { type } from "./decorator/type"; import { length } from "./decorator/length"; import { range } from "./decorator/range"; import { nullable } from "./decorator/nullable"; import { required } from "./decorator/required"; import { match } from "./decorator/match"; import { count } from "./decorator/count"; import "./extension/string"; declare function options(options: ModelOptions): void; declare function validate(modelOrArray: Object | Object[], modelType?: Function): Promise; export { model, options, validate, type, length, range, nullable, required, match, count };