import { ConditionParam, Constructable, SelectParam } from "../util.ts"; import { SqlStatementDataset, SqlStatement } from "../SqlStatement.ts"; import { ChainUpdate, ChainUpdateAfterForm, ChainUpdateAfterSet, ChainUpdateReturning } from "./update_chain.ts"; export declare class UpdateChain extends SqlStatement implements ChainUpdate { private sql; constructor(sql: string); from(...from: Constructable[]): ChainUpdateAfterForm; /** * @example * ```ts * // SET age=3, name='hi', count=b.count * set({age: "3", name: "'hi'", count:"b.count"}) * set(["age = 3", "name = 'hi'", "count = b.count"]) * set("age = 3, name = 'hi', count = b.count") * * ``` */ set(values: Constructable | string[] | string>): ChainUpdateAfterSet; returning(returns: Constructable): SqlStatementDataset; where(where: Constructable): ChainUpdateReturning; genSql(): string; }