import React from "react"; interface Props { children: React.ReactNode; propertyName: string; /** 标签文本:取自编辑器元素的 label(string 或 { text }),缺省回退到 propertyName */ label?: string; description?: string; value: any; onChange?: (newValue: any) => void; } export type PropertyEditorWrapperContextValue = { setToolBar: (toolBar: React.ReactNode) => void; }; export declare const PropertyEditorWrapperContext: React.Context; export declare function PropertyEditorWrapper({ children, propertyName, label, description, value, onChange }: Props): React.JSX.Element; export {};