import React from 'react'; import { LocaleProps, ThemeProps, JSONSchema } from 'amis-core'; export declare const schemaEditorItemPlaceholder: { key: string; title: string; description: string; default: string; empty: string; }; export type SchemaEditorItemPlaceholder = Partial; export interface SchemaEditorItemCommonProps extends LocaleProps, ThemeProps { value?: JSONSchema; onChange: (value: JSONSchema) => void; types: Array<{ label: string; value: string; [propName: string]: any; }>; onTypeChange?: (type: string, value: JSONSchema, origin?: JSONSchema) => JSONSchema | void; disabled?: boolean; required?: boolean; onRequiredChange?: (value: boolean) => void; typeMutable?: boolean; showInfo?: boolean; renderExtraProps?: (value: JSONSchema, onChange: (value: JSONSchema) => void) => JSX.Element; renderModalProps?: (value: JSONSchema, onChange: (value: JSONSchema) => void) => JSX.Element; prefix?: JSX.Element; affix?: JSX.Element; enableAdvancedSetting?: boolean; /** 各属性输入控件的placeholder */ placeholder?: SchemaEditorItemPlaceholder; popOverContainer?: any; mobileUI?: boolean; } export declare class SchemaEditorItemCommon

extends React.Component { handleTypeChange(type: any): void; handlePropsChange(newValue: JSONSchema): void; handleBeforeSubmit(form: any): any; renderCommon(): React.JSX.Element; render(): React.JSX.Element; }