import { z } from "zod"; import type { BlockMdxConfig } from "../types.js"; export type DataModelRelationKind = "1-1" | "1-n" | "n-n"; export declare const DATA_MODEL_RELATION_KINDS: DataModelRelationKind[]; export type DataModelChange = "added" | "modified" | "removed" | "renamed"; export declare const DATA_MODEL_CHANGES: DataModelChange[]; export interface DataModelField { name: string; type?: string; pk?: boolean; fk?: string; nullable?: boolean; default?: string; note?: string; change?: DataModelChange; was?: string; } export interface DataModelEntity { id: string; name: string; note?: string; change?: DataModelChange; fields: DataModelField[]; } export interface DataModelRelation { from: string; to: string; kind?: DataModelRelationKind; label?: string; } export interface DataModelData { entities: DataModelEntity[]; relations?: DataModelRelation[]; } export declare const dataModelSchema: z.ZodType; export declare const dataModelMdx: BlockMdxConfig;