UNPKG

libmodulor

Version:

A TypeScript library to create platform-agnostic applications

16 lines (15 loc) 617 B
import type { JSONSchemaType } from '../targets/json-schema.js'; import type { ProtobufFieldType } from '../targets/protobuf.js'; import type { HTMLInputType } from '../targets/web.js'; import type { Validation } from '../Validation.js'; import { TBase, type TName } from './TBase.js'; export declare class TBoolean extends TBase<boolean> { tName(): TName; assign(raw: unknown): this; example(): boolean; fmt(ifNullOrUndefined?: string | undefined): string; htmlInputType(): HTMLInputType; jsonSchemaType(): JSONSchemaType; protobufType(): ProtobufFieldType; validate(): Validation; }