import type { ColumnUpdateNode } from './column-update-node.js'; import type { JoinNode } from './join-node.js'; import type { OperationNode } from './operation-node.js'; import type { ReturningNode } from './returning-node.js'; import type { WhereNode } from './where-node.js'; import type { WithNode } from './with-node.js'; import { FromNode } from './from-node.js'; import type { ExplainNode } from './explain-node.js'; import type { LimitNode } from './limit-node.js'; import type { TopNode } from './top-node.js'; import type { OutputNode } from './output-node.js'; import type { OrderByNode } from './order-by-node.js'; export interface UpdateQueryNode extends OperationNode { readonly kind: 'UpdateQueryNode'; readonly table?: OperationNode; readonly from?: FromNode; readonly joins?: ReadonlyArray; readonly where?: WhereNode; readonly updates?: ReadonlyArray; readonly returning?: ReturningNode; readonly with?: WithNode; readonly explain?: ExplainNode; readonly endModifiers?: ReadonlyArray; readonly limit?: LimitNode; readonly top?: TopNode; readonly output?: OutputNode; readonly orderBy?: OrderByNode; } type UpdateQueryNodeFactory = Readonly<{ is(node: OperationNode): node is UpdateQueryNode; create(tables: ReadonlyArray, withNode?: WithNode): Readonly; createWithoutTable(): Readonly; cloneWithFromItems(updateQuery: UpdateQueryNode, fromItems: ReadonlyArray): Readonly; cloneWithUpdates(updateQuery: UpdateQueryNode, updates: ReadonlyArray): Readonly; cloneWithLimit(updateQuery: UpdateQueryNode, limit: LimitNode): Readonly; }>; /** * @internal */ export declare const UpdateQueryNode: UpdateQueryNodeFactory; export {};