import type { ForeignKeyBuilder, IndexBuilder, PgColumnBuilder, UniqueConstraintBuilder } from 'drizzle-orm/pg-core'; import type { Field } from 'mzinga/types'; import type { GenericColumns, PostgresAdapter } from '../types'; export type BaseExtraConfig = Record ForeignKeyBuilder | IndexBuilder | UniqueConstraintBuilder>; type Args = { adapter: PostgresAdapter; baseColumns?: Record; baseExtraConfig?: BaseExtraConfig; buildNumbers?: boolean; buildRelationships?: boolean; buildTexts?: boolean; disableNotNull: boolean; disableUnique: boolean; fields: Field[]; rootRelationsToBuild?: Map; rootRelationships?: Set; rootTableIDColType?: string; rootTableName?: string; tableName: string; timestamps?: boolean; versions: boolean; /** * Tracks whether or not this table is built * from the result of a localized array or block field at some point */ withinLocalizedArrayOrBlock?: boolean; }; type Result = { hasLocalizedManyNumberField: boolean; hasLocalizedManyTextField: boolean; hasLocalizedRelationshipField: boolean; hasManyNumberField: 'index' | boolean; hasManyTextField: 'index' | boolean; relationsToBuild: Map; }; export declare const buildTable: ({ adapter, baseColumns, baseExtraConfig, buildNumbers, buildRelationships, buildTexts, disableNotNull, disableUnique, fields, rootRelationsToBuild, rootRelationships, rootTableIDColType, rootTableName: incomingRootTableName, tableName, timestamps, versions, withinLocalizedArrayOrBlock, }: Args) => Result; export {}; //# sourceMappingURL=build.d.ts.map