import { fabric } from "fabric"; interface CanvasProps { canvas: fabric.Canvas | null; /** * Ref for the underlying element. Pass the ref returned by the core * hook (e.g. `editor.canvasRef`). The hook owns canvas creation, sizing, * image loading and window-resize handling — this component only renders the * canvas surface and the interaction chrome (zoom, pan). */ canvasRef: React.Ref; className?: string; zoomButtonClassName?: string; background?: string; canvasWrapperClassName?: string; } export declare const CanvasEditor: React.FC; export {};