import { type SchemaRelatedOptions } from "./getCreateSchemaQueries"; import type { getSchemaUtils } from "./tableConfigSchemaUtils"; export declare const getTableConfigSchemaQueries: (opts: SchemaRelatedOptions, { asName, db }: Pick>, "asName" | "db">) => Promise<{ config: { [table_name: string]: import("./TableConfig").TableDefinition<{ en: 1; }, import("prostgles-types").AnyObject, import("..").DBHandlerServer> | ({ info?: { label?: string | { [x: string]: string; }; }; dropIfExistsCascade?: boolean; dropIfExists?: boolean; syncConfig?: import("../PublishParser/publishTypesAndUtils").SyncConfig; hooks?: { getPreInsertRow?: (args: Omit & { validate: import("../PublishParser/publishTypesAndUtils").InsertRule["validate"]; localParams: import("../DboBuilder/DboBuilderTypes").LocalParams | undefined; }) => Promise<{ row: import("prostgles-types").AnyObject; onInserted: Promise; }>; afterEach?: { commands: Partial>; changedFields?: string[]; validate: (params: import("../PublishParser/publishTypesAndUtils").ValidateRowArgsCommon & { localParams: undefined | import("../DboBuilder/DboBuilderTypes").LocalParams; }) => Promise; }[] | undefined; afterAll?: { commands: Partial>; changedFields?: string[]; validate: (params: import("../PublishParser/publishTypesAndUtils").ValidateRowsArgsCommon & { localParams: undefined | import("../DboBuilder/DboBuilderTypes").LocalParams; }) => Promise; }[] | undefined; } | undefined; triggers?: { [triggerName: string]: { type: "before" | "after" | "instead of"; actions: ("insert" | "update" | "delete")[]; forEach: "statement" | "row"; query: string; }; }; } & { isLookupTable: { values: { [id_value: string]: {} | { en: string; }; }; }; }); } | undefined; newConfig?: undefined; migrate?: undefined; dropTableQueries: string[]; fileTableSchemaQuery: string; tableQueries: string[]; constraintQueries: string[]; indexQueries: string[]; triggerQueries: string[]; tableDefs: Record>; } | { newConfig: { [table_name: string]: import("./TableConfig").TableDefinition<{ en: 1; }, import("prostgles-types").AnyObject, import("..").DBHandlerServer> | ({ info?: { label?: string | { [x: string]: string; }; }; dropIfExistsCascade?: boolean; dropIfExists?: boolean; syncConfig?: import("../PublishParser/publishTypesAndUtils").SyncConfig; hooks?: { getPreInsertRow?: (args: Omit & { validate: import("../PublishParser/publishTypesAndUtils").InsertRule["validate"]; localParams: import("../DboBuilder/DboBuilderTypes").LocalParams | undefined; }) => Promise<{ row: import("prostgles-types").AnyObject; onInserted: Promise; }>; afterEach?: { commands: Partial>; changedFields?: string[]; validate: (params: import("../PublishParser/publishTypesAndUtils").ValidateRowArgsCommon & { localParams: undefined | import("../DboBuilder/DboBuilderTypes").LocalParams; }) => Promise; }[] | undefined; afterAll?: { commands: Partial>; changedFields?: string[]; validate: (params: import("../PublishParser/publishTypesAndUtils").ValidateRowsArgsCommon & { localParams: undefined | import("../DboBuilder/DboBuilderTypes").LocalParams; }) => Promise; }[] | undefined; } | undefined; triggers?: { [triggerName: string]: { type: "before" | "after" | "instead of"; actions: ("insert" | "update" | "delete")[]; forEach: "statement" | "row"; query: string; }; }; } & { isLookupTable: { values: { [id_value: string]: {} | { en: string; }; }; }; }); }; migrate: { schemaIsUpToDate: boolean; runMigration?: undefined; } | { runMigration: (t: import("pg-promise").ITask<{}>) => { finishMigration: () => Promise; }; schemaIsUpToDate?: undefined; } | { runMigration: (t: import("pg-promise").ITask<{}>) => Promise<{ finishMigration: () => Promise; }>; schemaIsUpToDate?: undefined; } | undefined; config?: undefined; dropTableQueries: string[]; fileTableSchemaQuery: string; tableQueries: string[]; constraintQueries: string[]; indexQueries: string[]; triggerQueries: string[]; tableDefs: Record>; }>; //# sourceMappingURL=getTableConfigSchemaQueries.d.ts.map