import type { CSSProperties } from "react"; import "@xyflow/react/dist/style.css"; import type { ReactNode } from "react"; import { type LayoutOptions, type XYPosition } from "./layout.js"; import type { ServiceEdgeData, ServiceNodeData, ServiceStatus, StatusPalette } from "./types.js"; export interface ProjectCanvasProps { nodes: ServiceNodeData[]; edges?: ServiceEdgeData[]; /** Explicit positions by node id; else the nodes are auto-laid-out. */ positions?: Record; layoutOptions?: LayoutOptions; reducedMotion?: boolean; theme?: "light" | "dark"; statusPalette?: Partial>; renderIcon?: (d: ServiceNodeData) => ReactNode; onSelect?: (d: ServiceNodeData | null) => void; onOpenDetail?: (d: ServiceNodeData) => void; nodeWidth?: number; showMiniMap?: boolean; showControls?: boolean; fitViewPadding?: number; /** Rendered over the canvas when there are no nodes. */ empty?: ReactNode; now?: number; style?: CSSProperties; } export declare function ProjectCanvas({ nodes, edges, positions, layoutOptions, reducedMotion, theme, statusPalette, renderIcon, onSelect, onOpenDetail, nodeWidth, showMiniMap, showControls, fitViewPadding, empty, now, style, }: ProjectCanvasProps): import("react").JSX.Element;