/** * (c) Phan Trung Nguyên * User: nguyenpl117 * Date: 3/17/2020 * Time: 1:34 PM * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import { ExistsRule, UniqueRule } from './Rules'; declare type Maybe = T | T[]; export declare class Rule { /** * * @param model * @param column * @returns {Unique} */ static unique(model: any, column: any): UniqueRule; /** * * @param model * @param column * @returns {Exists} */ static exists(model: any, column: any): ExistsRule; /** * * @param value {string} * @returns {string} */ static notIn(value: Maybe): string; /** * * @param value {array|string|number} * @returns {string} */ static in(value: Maybe): string; } export {};