import type { QueryExecutor, WhereCondition } from "../core/query.js"; import type { SQLChunk } from "../core/sql.js"; import { type Table } from "../schema/table.js"; import type { ColumnConfig, InferTable } from "../types/index.js"; import type { CTEBuilder } from "./cte.js"; import { UpdateBuilder } from "./update.js"; export declare class DeleteBuilder> implements PromiseLike[]> { private _table; private _executor; private _where; 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>; where(condition: WhereCondition): this; bulkDelete(conditions: WhereCondition[]): Promise; softDelete(deletedAtColumn?: string): UpdateBuilder; with(...ctes: CTEBuilder[]): this; returning(...columns: (keyof TColumns & string)[]): this; comment(tag: string): this; toSQL(): SQLChunk; } //# sourceMappingURL=delete.d.ts.map