import type { JSONSchema, LocaleProps, ThemeProps } from 'jamis-core';
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;
    requireLabel?: string;
    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;
}
