import type { ColumnConfig, TableConfig } from "../types/index.js"; import type { SQLChunk } from "./sql.js"; import type { WhereObject, OrderByObject } from "./query.js"; export declare const eq: (column: string | ColumnConfig | SQLChunk, value: unknown) => SQLChunk; export declare const ne: (column: string | ColumnConfig | SQLChunk, value: unknown) => SQLChunk; export declare const gt: (column: string | ColumnConfig | SQLChunk, value: unknown) => SQLChunk; export declare const gte: (column: string | ColumnConfig | SQLChunk, value: unknown) => SQLChunk; export declare const lt: (column: string | ColumnConfig | SQLChunk, value: unknown) => SQLChunk; export declare const lte: (column: string | ColumnConfig | SQLChunk, value: unknown) => SQLChunk; export declare const like: (column: string | ColumnConfig | SQLChunk, pattern: string) => SQLChunk; export declare const ilike: (column: string | ColumnConfig | SQLChunk, pattern: string) => SQLChunk; export declare const isNull: (column: string | ColumnConfig | SQLChunk) => SQLChunk; export declare const isNotNull: (column: string | ColumnConfig | SQLChunk) => SQLChunk; export declare const inArray: (column: string | ColumnConfig, values: unknown[] | { toSQL(): SQLChunk; } | SQLChunk) => SQLChunk; export declare const notInArray: (column: string | ColumnConfig, values: unknown[] | { toSQL(): SQLChunk; } | SQLChunk) => SQLChunk; export declare const between: (column: string | ColumnConfig | SQLChunk, min: unknown, max: unknown) => SQLChunk; export declare const startsWith: (column: string | ColumnConfig | SQLChunk, prefix: string) => SQLChunk; export declare const endsWith: (column: string | ColumnConfig | SQLChunk, suffix: string) => SQLChunk; export declare const contains: (column: string | ColumnConfig | SQLChunk, substring: string) => SQLChunk; export declare const betweenDate: (column: string | ColumnConfig | SQLChunk, start: Date, end: Date) => SQLChunk; export declare const and: (...conditions: SQLChunk[]) => SQLChunk; export declare const or: (...conditions: SQLChunk[]) => SQLChunk; export declare const not: (condition: SQLChunk) => SQLChunk; export declare const asc: (column: string | ColumnConfig) => SQLChunk; export declare const desc: (column: string | ColumnConfig) => SQLChunk; export declare function parseWhereObject(tableConfig: TableConfig, whereObj: WhereObject>, alias?: string): SQLChunk; export declare function parseOrderByObject(tableConfig: TableConfig, orderByObj: OrderByObject>, alias?: string): SQLChunk[]; export declare const containsJson: (column: string | ColumnConfig | SQLChunk, value: unknown) => SQLChunk; export declare const containedInJson: (column: string | ColumnConfig | SQLChunk, value: unknown) => SQLChunk; export declare const hasKey: (column: string | ColumnConfig | SQLChunk, key: string) => SQLChunk; export declare const hasAnyKeys: (column: string | ColumnConfig | SQLChunk, keys: string[]) => SQLChunk; export declare const hasAllKeys: (column: string | ColumnConfig | SQLChunk, keys: string[]) => SQLChunk; export declare const jsonExtractText: (column: string | ColumnConfig | SQLChunk, path: string | number) => SQLChunk; export declare const jsonExtract: (column: string | ColumnConfig | SQLChunk, path: string | number) => SQLChunk; export declare const arrayContains: (column: string | ColumnConfig | SQLChunk, values: unknown[]) => SQLChunk; export declare const arrayContained: (column: string | ColumnConfig | SQLChunk, values: unknown[]) => SQLChunk; export declare const arrayOverlaps: (column: string | ColumnConfig | SQLChunk, values: unknown[]) => SQLChunk; export declare const toTsquery: (query: string) => SQLChunk; export declare const plainToTsquery: (query: string) => SQLChunk; export declare const toTsvector: (column: string | ColumnConfig | SQLChunk, config?: string) => SQLChunk; export declare const tsMatch: (vector: string | ColumnConfig | SQLChunk, query: string | SQLChunk) => SQLChunk; //# sourceMappingURL=conditions.d.ts.map