import type { AnyObject, InsertParams } from "prostgles-types"; import type { ParsedTableRule } from "../../../PublishParser/PublishParser"; import type { LocalParams, TableHandlers } from "../../DboBuilder"; import type { TableHandler } from "../TableHandler"; import type { ReferenceColumnInsert } from "./getReferenceColumnInserts"; type InsertNestedRecordsArgs = { data: AnyObject | AnyObject[]; insertParams?: InsertParams; tableRules: ParsedTableRule | undefined; localParams: LocalParams | undefined; }; /** * Referenced inserts within a single transaction */ export declare function insertRowWithNestedRecords(this: TableHandler, { row, extraKeys, colInserts, dbTX, rootOnConflict, }: { row: AnyObject; extraKeys: string[]; colInserts: ReferenceColumnInsert[]; dbTX: TableHandlers; rootOnConflict: "DoNothing" | "DoUpdate" | undefined; }, { insertParams, tableRules, localParams }: Omit): Promise; export {}; //# sourceMappingURL=insertRowWithNestedRecords.d.ts.map