import { default as React } from 'react'; import { EnhancedSectionData } from '../types/editor'; interface EditorCanvasProps { sections: EnhancedSectionData[]; activeId: string | null; selectedSection: string | null; onSelectSection: (id: string | null) => void; onUpdateSection: (id: string, data: any) => void; onDeleteSection: (id: string) => void; onMoveElement: (id: string, x: number, y: number) => void; onResizeElement: (id: string, x: number, y: number, width: number, height: number) => void; onRotateElement: (id: string, rotation: number) => void; onBringForward: (id: string) => void; onSendBackward: (id: string) => void; preview: boolean; editHtml: boolean; onApplyHtmlEdit: (html: string) => void; onCancelHtmlEdit: () => void; placeholders: Record[]; stConfig?: any; stationeryHeaderHtml?: string; stationeryFooterHtml?: string; zoom?: number; paper?: string; orient?: string; watermark?: { show: boolean; opacity: number; size: number; rotation: number; image?: string; }; pages?: { id: string; elements: EnhancedSectionData[]; }[]; currentPageIndex?: number; onSetCurrentPage?: (idx: number) => void; onAddPage?: () => void; onDeletePage?: (idx: number) => void; onUpdatePageSections?: (pageIdx: number, sections: EnhancedSectionData[]) => void; onMoveElementToPage?: (id: string, offset: -1 | 1) => void; } declare const EditorCanvas: React.FC; export default EditorCanvas;