import { Field, Context } from "../../../main.js"; import { OpenApiTypes } from "../../../schemas/open-api-types.js"; type BooleanInputType = boolean | "false" | "true" | "1" | "0" | 1 | 0; /** A field that can be either true or false. Built to handle a variety of inputs. * * **Params**: none * * **Accepted values**: accepts actual booleans, strings (`"true"`, `"false"`) and the numbers `1` and `0` */ export default class Boolean extends Field { typeName: string; open_api_type: OpenApiTypes; hasIndex(): Promise; isProperValue(ctx: Context, value: BooleanInputType): Promise; encode(_: Context, value: BooleanInputType | null): Promise; getMatchQueryValue(context: Context, filter: "" | null | BooleanInputType): Promise; getPostgreSqlFieldDefinitions(): string[]; } export {};