import { Field } from './field.js'; import { SchemaTypes } from '@vinejs/vine/types'; export default class Boolean extends Field { protected $trueValue: any; protected $falseValue: any; $initialValue: boolean; constructor(name: string); indexComponent(): string; formComponent(): string; /** * Defines the emitted values when the boolean is true or false. */ values(trueValue: any, falseValue: any): this; $validator(): SchemaTypes; static make(name: string): Boolean; toJSON(): { trueValue: any; falseValue: any; type: "field" | "panel"; fieldComponent: string | undefined; indexComponent: string | undefined; detailComponent: string | undefined; attributes: Record; visibility: import("./field.js").FieldVisibility; sortable: boolean; name: string; label: string; initialValue: any; }; }