import { AbstractObjectSchema } from "./schema"; /** * Schema for boolean */ export declare class BooleanObjectSchema extends AbstractObjectSchema { /** * Creates boolean schema * @returns a new instance of BooleanObjectSchema */ static create(): BooleanObjectSchema; private schema; /** * Constructor */ constructor(); /** * Sets default value, in case the object is null, undefined or cannot be parsed * @param defaultValue The default value * @returns self */ withDefaultValue(defaultValue: boolean): BooleanObjectSchema; /** * Sets an enumeration of allowed values * @param enumeration The enumeration * @returns self */ withEnumeration(enumeration: boolean[]): BooleanObjectSchema; }