import types from './types'; declare class Validator { constructor(options: types.PlainObj); validate(object: any): string | boolean; static plugins: any; static addPlugin(name: string, plugin: types.AnyFn): void; } export default Validator;