import { TypeBase } from './base'; import { LangList } from '../types/lang'; export declare const messages: LangList; /** * Boolean class */ export declare class TypeBoolean extends TypeBase { /** * Constructor */ constructor(); /** * Try to cast value * * @param {mixed} value * @return {boolean|mixed} */ _cast(value: any): boolean | any; /** * Test to validate the type of the value * * @return {this} */ typeof(): this; /** * Force a boolean to equal true * * @return {this} */ true(): this; /** * Force a boolean to equal false * * @return {this} */ false(): this; } declare const def: { Class: typeof TypeBoolean; messages: LangList; }; export default def;