import { type HasQuery, type HasSql, internalData, internalQuery, internalSelection } from '../Internal.js'; import type { IsPostgres, IsSqlite, QueryMeta } from '../MetaData.js'; import { type QueryData, SingleQuery } from '../Queries.js'; import { type Selection, type SelectionInput, type SelectionRow } from '../Selection.js'; import { type Sql } from '../Sql.js'; import type { TableDefinition, TableRow, TableUpdate } from '../Table.js'; import { type Input } from '../expr/Input.js'; import type { UpdateQuery } from './Query.js'; export declare class Update extends SingleQuery, Meta> implements HasQuery { readonly [internalData]: QueryData & UpdateQuery; readonly [internalSelection]?: Selection; constructor(data: QueryData & UpdateQuery); get [internalQuery](): Sql; limit(limit: Input): Update; offset(offset: Input): Update; orderBy(...orderBy: Array): Update; } export declare class UpdateTable extends Update { set(set: TableUpdate): UpdateTable; where(...where: Array | undefined>): UpdateTable; returning(this: UpdateTable): Update, Meta>; returning(this: UpdateTable, returning?: Input): Update, Meta>; } export declare function updateQuery(query: UpdateQuery): Sql;