import { entityKind, SQL } from 'drizzle-orm'; import { PodTable, InferInsertData } from '../schema'; import { PodAsyncSession } from '../pod-session'; import { InsertQueryPlan, type SelectFieldMap } from './types'; export declare class InsertQueryBuilder = PodTable> { session: PodAsyncSession; table: TTable; static readonly [entityKind] = "InsertQueryBuilder"; insertValues?: InferInsertData | InferInsertData[]; sql?: SQL; private returningFields?; constructor(session: PodAsyncSession, table: TTable); values(values: InferInsertData | InferInsertData[] | SQL): this; returning(fields?: SelectFieldMap): this; toIR: () => InsertQueryPlan; private buildSPARQLQuery; toSPARQL(): import("../ast-to-sparql").SPARQLQuery; toSparql(): import("../ast-to-sparql").SPARQLQuery; execute(): Promise; then['execute']>>, TResult2 = never>(onfulfilled?: ((value: Awaited['execute']>>) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; private fetchReturningRowsBySubjects; private getSubjectUris; /** * Run afterInsert hooks for all inserted records. */ private runAfterInsertHooks; /** * Build the HookContext from session info. */ private buildHookContext; private getRowsWithDefaults; private applyDefaultValues; private applyDefaultValue; private resolveDefaultValue; private isPrimaryKeyColumn; } //# sourceMappingURL=insert-query-builder.d.ts.map