import { entityKind, SQL } from 'drizzle-orm'; import { PodTable, InferUpdateData } from '../schema'; import { PodAsyncSession } from '../pod-session'; import { type PublicQueryCondition, type PublicWhereObject } from '../query-conditions'; import { UpdateQueryPlan, type SelectFieldMap } from './types'; export declare class UpdateQueryBuilder = PodTable> { session: PodAsyncSession; table: TTable; static readonly [entityKind] = "UpdateQueryBuilder"; updateData?: InferUpdateData; whereConditions?: Record; sql?: SQL; private conditionTree?; private returningFields?; constructor(session: PodAsyncSession, table: TTable); set(data: InferUpdateData | SQL): this; returning(fields?: SelectFieldMap): this; where(conditions: PublicWhereObject | SQL | PublicQueryCondition): this; whereByIri(iri: string): this; private isQueryCondition; private convertQueryConditionToSimple; private normalizeWhereConditionsForUpdate; toIR: () => UpdateQueryPlan; private buildSPARQLQuery; toSPARQL(): import("../ast-to-sparql").SPARQLQuery; toSparql(): import("../ast-to-sparql").SPARQLQuery; execute(): Promise; private fetchMatchedRows; private fetchReturningRowsBySubjects; private runAfterUpdateHooks; private buildHookContext; then['execute']>>, TResult2 = never>(onfulfilled?: ((value: Awaited['execute']>>) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; } //# sourceMappingURL=update-query-builder.d.ts.map