import { DrawTool, DrawToolDefaults, DrawItem, DrawGroup, DrawTransition, CanvasBackground } from './canvas-draw-types'; import { ForwardRefExoticComponent, RefAttributes } from 'react'; export interface CanvasDrawOverlayHandle { getItems: () => DrawItem[]; getGroups: () => DrawGroup[]; exportSvgString: () => string; } interface Props { background: CanvasBackground; currentMs: number; isEditing: boolean; items: DrawItem[]; groups: DrawGroup[]; selectedItemId: string | null; defaults: DrawToolDefaults; activeTool: DrawTool; currentDrawShowAt: number; currentDrawHideAt: number | null; currentDrawTransition: DrawTransition; currentDrawGroupId: string | null; onItemsChange: (items: DrawItem[]) => void; onItemsCommit: () => void; onSelectItem: (id: string | null) => void; onDrawComplete?: () => void; } declare const CanvasDrawOverlay: ForwardRefExoticComponent>; export default CanvasDrawOverlay;