import { ColumnUpdateNode } from '../operation-node/column-update-node.js'; import { ExpressionBuilder } from '../expression/expression-builder.js'; import { UpdateKeys, UpdateType } from '../util/column-type.js'; import { ValueExpression } from './value-parser.js'; import { ExtractRawTypeFromReferenceExpression, ReferenceExpression } from './reference-parser.js'; export type UpdateObject = { [C in UpdateKeys]?: ValueExpression> | undefined; }; export type UpdateObjectFactory = (eb: ExpressionBuilder) => UpdateObject; export type UpdateObjectExpression = UpdateObject | UpdateObjectFactory; export type ExtractUpdateTypeFromReferenceExpression = UpdateType>; export declare function parseUpdate(...args: [UpdateObjectExpression] | [ReferenceExpression, ValueExpression]): ReadonlyArray; export declare function parseUpdateObjectExpression(update: UpdateObjectExpression): ReadonlyArray;