import React from 'react'; import type { KpFormInstance, KpFormProps } from '../Form'; import type { KpItemProps } from '../Item'; interface KpSchemaItemProps extends KpItemProps { fieldProps?: Field; innerProps?: object; type?: string; disabled?: boolean; placeholder?: string | string[]; value?: any; ignoreItem?: boolean; effectConfig?: { effect: (options: { form: KpFormInstance; props: KpSchemaItemProps; }) => void | (() => void); deps: readonly any[] | ((props: KpSchemaItemProps) => readonly any[] | undefined); }; shouldRender?: (config: { form: KpFormInstance; props: KpSchemaItemProps; }) => boolean | KpSchemaItemProps; onItemChange?: KpFormProps['onItemChange']; onDestroy?: (options: { form: KpFormInstance; props: KpSchemaItemProps; }) => void; render?: (props: KpSchemaItemProps) => React.ReactNode; renderItem?: (props: KpSchemaItemProps) => React.ReactNode; } declare function KpSchemaItem(props: KpSchemaItemProps): React.ReactElement | null; export type { KpSchemaItemProps }; export default KpSchemaItem;