import '@xyflow/react/dist/style.css'; import type { SchemaController } from '../hooks/useSchemaController.js'; import type { AppScope } from '../types.js'; export interface SchemaCanvasProps { controller: SchemaController; tenantId: string | null; appScope: AppScope; /** Error sink (defaults to console.error). */ onError?: (message: string, err?: unknown) => void; } export interface SchemaCanvasHandle { /** Pan+zoom the viewport to the entity with this id. */ focusEntity: (entityId: string) => void; /** Open the entity properties panel in create mode. */ openCreateEntity: () => void; /** Auto-arrange nodes via dagre (§3.6 item 3). */ tidyUp: () => void; /** Export the current canvas as PNG (§3.6 item 8). */ exportPng: () => Promise; /** Prompt and add a new field to the currently-selected entity. */ addFieldToSelectedEntity: () => void; } export declare const SchemaCanvas: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=SchemaCanvas.d.ts.map