import type { QueryExecutor, WhereCondition } from "../core/query.js"; import { type SQLChunk } from "../core/sql.js"; import { type Table } from "../schema/table.js"; import type { ColumnConfig, InferTable } from "../types/index.js"; import type { CTEBuilder } from "./cte.js"; export declare class UpdateBuilder> implements PromiseLike[]> { private _table; private _executor; private _set; private _where; private _returning?; private _comment?; private _with; constructor(table: Table, executor: QueryExecutor); then[], TResult2 = never>(onfulfilled?: ((value: InferTable[]) => TResult1 | PromiseLike) | undefined, onrejected?: ((reason: unknown) => TResult2 | PromiseLike) | undefined): Promise; single(): Promise | null>; set(data: Partial<{ [K in keyof InferTable]: InferTable[K] | SQLChunk; }>): this; bulkUpdate(updates: Array<{ where: WhereCondition; set: Partial<{ [K in keyof InferTable]: InferTable[K] | SQLChunk; }>; }>): Promise; where(condition: WhereCondition): this; with(...ctes: CTEBuilder[]): this; returning(...columns: (keyof TColumns & string)[]): this; comment(tag: string): this; toSQL(): SQLChunk; } //# sourceMappingURL=update.d.ts.map