import { AbstractSqlDialect } from '../dialect/index.js'; import type { FieldKey, JsonMergeOp, NamingStrategy, QueryComparisonOptions, QueryConflictPaths, QueryContext, QueryWhereFieldOperatorMap, Type } from '../type/index.js'; export declare class SqliteDialect extends AbstractSqlDialect { constructor(namingStrategy?: NamingStrategy); addValue(values: unknown[], value: unknown): string; compare(ctx: QueryContext, entity: Type, key: string, val: unknown, opts?: QueryComparisonOptions): void; compareFieldOperator>(ctx: QueryContext, entity: Type, key: FieldKey, op: K, val: QueryWhereFieldOperatorMap[K], opts?: QueryComparisonOptions): void; /** * Build $elemMatch condition for SQLite JSON arrays. * Uses EXISTS with json_each and supports nested operators. */ private buildElemMatchCondition; /** * Build a comparison condition for a JSON field with an operator. */ private buildJsonFieldOperator; protected getJsonFieldConfig(escapedColumn: string, jsonPath: string): { fieldAccessor: () => string; numericCast: (expr: string) => string; neExpr: (f: string, ph: string) => string; likeFn: string; ilikeExpr: (field: string, placeholder: string) => string; regexpOp: string; addValue: (ctx: QueryContext, value: unknown) => string; inExpr?: ((field: string, placeholder: string) => string) | undefined; ninExpr?: ((field: string, placeholder: string) => string) | undefined; }; protected getBaseJsonConfig(): { numericCast: (expr: string) => string; neExpr: (f: string, ph: string) => string; likeFn: string; ilikeExpr: (field: string, placeholder: string) => string; regexpOp: string; addValue: (ctx: QueryContext, value: unknown) => string; inExpr?: ((field: string, placeholder: string) => string) | undefined; ninExpr?: ((field: string, placeholder: string) => string) | undefined; }; upsert(ctx: QueryContext, entity: Type, conflictPaths: QueryConflictPaths, payload: E | E[]): void; protected formatJsonMerge(ctx: QueryContext, escapedCol: string, value: JsonMergeOp): void; escape(value: unknown): string; } //# sourceMappingURL=sqliteDialect.d.ts.map