import { type HasSql } from '../Internal.js'; import type { Either } from '../MetaData.js'; import type { SingleQuery } from '../Queries.js'; import { type Sql } from '../Sql.js'; import { type Input } from './Input.js'; export declare const eq: (left: Input, right: Input) => Sql; export declare const ne: (left: Input, right: Input) => Sql; export declare const gt: (left: Input, right: Input) => Sql; export declare const gte: (left: Input, right: Input) => Sql; export declare const lt: (left: Input, right: Input) => Sql; export declare const lte: (left: Input, right: Input) => Sql; export declare const like: (left: Input, right: Input) => Sql; export declare const notLike: (left: Input, right: Input) => Sql; export declare const ilike: (left: Input, right: Input) => Sql; export declare const notILike: (left: Input, right: Input) => Sql; export declare const arrayContains: (left: Input>, right: Input) => Sql; export declare const arrayContained: (left: Input>, right: Input>) => Sql; export declare const arrayOverlaps: (left: Input>, right: Input>) => Sql; export declare function and(...conditions: Array>): Sql; export declare function or(...conditions: Array>): Sql; export declare function not(condition: Input): Sql; export declare function inArray(left: Input, right: SingleQuery, any> | Input>): Sql; export declare function notInArray(left: Input, right: SingleQuery | Input>): Sql; export declare function isNull(value: Input): Sql; export declare function isNotNull(value: Input): Sql; export declare function between(value: Input, left: Input, right: Input): Sql; export declare function notBetween(value: Input, left: Input, right: Input): Sql; export declare function asc(input: HasSql): Sql; export declare function desc(input: HasSql): Sql; export declare function distinct(input: HasSql): Sql; export declare function when(compare: Input, ...cases: Array<[condition: Input, result: Input] | Input>): Sql; export declare function when(...cases: Array<[condition: Input, result: Input] | Input>): Sql; export declare function exists(query: SingleQuery): Sql;