import React from 'react'; import type { FC } from 'react'; import type { ComponentInstance } from '../../interfaces/ComponentInstance'; import type { PageInfo } from '../../interfaces/types'; interface EditorConfig { backOnSave?: boolean; } interface WufengEditorProps { initialPageData?: ComponentInstance[]; title?: string; pageInfo?: PageInfo; onTitleChange?: (title: string) => void; blackList?: string[]; onBackClick?: (fromSave?: boolean) => void; onSave?: ({ pageData, title, formData, pageId, }: { pageData?: ComponentInstance[]; title?: string; formData: any[]; pageId: string; }) => void; showFormSetting?: boolean; showFormRelease?: boolean; config?: EditorConfig; extraRight?: React.ReactNode; } declare const WufengEditor: FC; export default WufengEditor;