import { BooleanColumn, DateColumn, NumberColumn, TextColumn } from '../database'; import { AggregateFunction } from '../AggregateFunction'; import { Expression } from './Expression'; export type NonNullPrimitiveType = boolean | number | string | Date; export type PrimitiveType = null | NonNullPrimitiveType; declare const booleanArray: readonly string[]; type TextBooleanSmallLetter = typeof booleanArray[number]; export type TextBoolean = TextBooleanSmallLetter | Capitalize | Uppercase; export type BooleanLike = boolean | TextBoolean | BooleanColumn; export type NumberLike = number | NumberColumn; export type TextLike = string | TextColumn; export type DateLike = Date | DateColumn; export type ValueLike = BooleanLike | NumberLike | TextLike | DateLike; export type ValueType = null | ValueLike; export type ValueArrayType = ValueType[]; export type OperandType = ValueType | AggregateFunction | Expression | ValueArrayType; export declare function isTextBoolean(text: unknown): text is TextBoolean; export declare function isTextNumber(text: unknown): text is number; export declare function isNumber(value: unknown): value is number; export {};