import { default as React } from 'react';
import { EnhancedSectionData } from '../types/editor';

interface EditorCanvasProps {
    sections: EnhancedSectionData[];
    headerSections: EnhancedSectionData[];
    footerSections: EnhancedSectionData[];
    activeId: string | null;
    overSection: string | null;
    selectedSection: string | null;
    onSelectSection: (id: string | null) => void;
    onUpdateSection: (id: string, data: any, canvasType?: string) => void;
    onSplitSection: (id: string, content1: string, content2: string, canvasType?: string) => void;
    onDeleteSection: (id: string, canvasType?: string) => void;
    preview: boolean;
    editHtml: boolean;
    onApplyHtmlEdit: (html: string) => void;
    onCancelHtmlEdit: () => void;
    editMode: boolean;
    isFromPreview: boolean;
    zoom?: number;
    placeholders: Record<string, any>[];
    isEditingHeaderFooter: boolean;
    relation_table: any[];
    handleSave?: () => Promise<void>;
}
declare const EditorCanvas: React.FC<EditorCanvasProps>;
export default EditorCanvas;
