import Field from './field'; /** * Casts the values both `toDB` and `toFilterValue` accept. Returns `undefined` for any other * value, so each caller decides how to handle it. */ export declare function toRecognisedBoolean(value: unknown): boolean | null | undefined; export default class BooleanField extends Field { toDB(value: unknown): boolean | null; /** * Strict on filters: the `Boolean(value)` fallback of `toDB` reads `'no'` as `true`, so * `filters[flag][$eq]=no` would silently match the true rows. */ toFilterValue(value: unknown): boolean | null; fromDB(value: unknown): boolean | null; } //# sourceMappingURL=boolean.d.ts.map