import type { ColumnNode } from './column-node.js'; import type { ExplainNode } from './explain-node.js'; import type { OnConflictNode } from './on-conflict-node.js'; import type { OnDuplicateKeyNode } from './on-duplicate-key-node.js'; import type { OperationNode } from './operation-node.js'; import type { OrActionNode } from './or-action-node.js'; import type { OutputNode } from './output-node.js'; import type { ReturningNode } from './returning-node.js'; import type { TableNode } from './table-node.js'; import type { TopNode } from './top-node.js'; import type { WithNode } from './with-node.js'; export type InsertQueryNodeProps = Omit; export interface InsertQueryNode extends OperationNode { readonly kind: 'InsertQueryNode'; readonly into?: TableNode; readonly columns?: ReadonlyArray; readonly values?: OperationNode; readonly returning?: ReturningNode; readonly onConflict?: OnConflictNode; readonly onDuplicateKey?: OnDuplicateKeyNode; readonly with?: WithNode; /** @deprecated use {@link orAction} instead. */ readonly ignore?: boolean; readonly orAction?: OrActionNode; readonly replace?: boolean; readonly explain?: ExplainNode; readonly defaultValues?: boolean; readonly endModifiers?: ReadonlyArray; readonly top?: TopNode; readonly output?: OutputNode; } type InsertQueryNodeFactory = Readonly<{ is(node: OperationNode): node is InsertQueryNode; create(into: TableNode, withNode?: WithNode, replace?: boolean): Readonly; createWithoutInto(): Readonly; cloneWith(insertQuery: InsertQueryNode, props: InsertQueryNodeProps): Readonly; }>; /** * @internal */ export declare const InsertQueryNode: InsertQueryNodeFactory; export {};