import type { Column } from "../../tables/queries.ts"; import type { DesiredColumn, ForeignKey } from "../queries.ts"; /** Map any declared column type to the nearest SQLite affinity per the spec: * https://www.sqlite.org/datatype3.html#type_affinity */ export declare function toAffinity(type: string): string; /** Empty dialog shell rendered once in the ER diagram page */ export declare function editTableDialogShell(): import("hono/utils/html").HtmlEscapedString | Promise; /** Full dialog body content — patched via SSE when edit button is clicked */ export declare function editTableDialogContent(tableName: string, dbColumns: Column[], base: string, pending: DesiredColumn[] | null, otherSchema: { name: string; columns: { name: string; }[]; }[], currentFKs: ForeignKey[]): import("hono/utils/html").HtmlEscapedString | Promise; /** A single new empty column row (appended via SSE on "Add column") */ export declare function newEmptyColRow(i: number, otherSchema: { name: string; columns: { name: string; }[]; }[]): import("hono/utils/html").HtmlEscapedString | Promise; /** Dialog body for creating a brand-new table — opened via the "New Table" button */ export declare function newTableDialogContent(base: string): import("hono/utils/html").HtmlEscapedString | Promise; //# sourceMappingURL=edit-table-dialog.d.ts.map