import type { ViewSpec } from "./view-spec.js"; export interface EmitOptions { readonly dialect: "postgres" | "sqlite"; /** Resolved table name for the JoinTree's base entity. */ readonly baseTableName: string; /** Map from entity name → table name for every entity referenced in joins. */ readonly joinTables: Readonly>; /** * When true, return only the view BODY (`SELECT … FROM …`, no `CREATE VIEW … AS` * wrapper, no trailing `;`). This is what migrate-ts's expected-schema/diff layer * consumes (it re-wraps the body); the full statement is for direct application. */ readonly bodyOnly?: boolean; } export declare function emitViewDdl(spec: ViewSpec, options: EmitOptions): string; //# sourceMappingURL=view-ddl-emit.d.ts.map