import type { ColumnConfig, TableConfig } from "./types/index.js"; import type { ViewConfig } from "./schema/view.js"; export declare function generateCreateTable(config: TableConfig, ifNotExists?: boolean): string; export declare function generateDropTable(config: TableConfig, ifExists?: boolean): string; export declare function generateAddConstraint(tableName: string, schema: string | undefined, constraintName: string, constraintDef: string): string; export declare function generateDropConstraint(tableName: string, schema: string | undefined, constraintName: string): string; /** Generate ALTER TABLE ADD COLUMN statement */ export declare function generateAddColumn(tableName: string, schema: string | undefined, key: string, col: ColumnConfig): string; /** Generate ALTER TABLE DROP COLUMN statement */ export declare function generateDropColumn(tableName: string, schema: string | undefined, columnName: string): string; /** Generate CREATE TYPE ... AS ENUM statement */ export declare function generateCreateEnum(name: string, values: string[]): string; /** Generate DROP TYPE statement */ export declare function generateDropEnum(name: string, ifExists?: boolean): string; /** Inlines parameters into a SQL string for DDL generation where $1 parameters are not allowed */ export declare function inlineParams(chunk: { sql: string; params: unknown[]; }): string; /** Generate CREATE VIEW statement */ export declare function generateCreateView(view: ViewConfig & { sql?: string; }): string; /** Generate DROP VIEW statement */ export declare function generateDropView(view: ViewConfig, ifExists?: boolean): string; //# sourceMappingURL=ddl.d.ts.map