import type { QueryExecutor } from "../core/query.js"; import { type SQLChunk } from "../core/sql.js"; import { type Table } from "../schema/table.js"; import type { ColumnConfig, InferInsert, InferTable } from "../types/index.js"; import type { CTEBuilder } from "./cte.js"; export declare class InsertBuilder> implements PromiseLike[]> { private _table; private _executor; private _values; private _onConflict?; private _onConflictUpdateConfig?; 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>; values(data: InferInsert | InferInsert[]): this; bulkInsert(data: InferInsert[], batchSize?: number): Promise[]>; onConflictDoNothing(): this; onConflict(clause: SQLChunk): this; onConflictDoUpdate(config: { target: string | SQLChunk | (string | SQLChunk)[]; set: Partial<{ [K in keyof InferTable]: InferTable[K] | SQLChunk; }>; }): this; with(...ctes: CTEBuilder[]): this; returning(...columns: (keyof TColumns & string)[]): this; comment(tag: string): this; toSQL(): SQLChunk; } //# sourceMappingURL=insert.d.ts.map