import React from 'react'; import type { KpFormInstance, KpFormProps } from '../Form'; import type { KpSchemaItemProps } from './Item'; interface KpSchemaFormProps extends Omit, 'children'> { source?: KpSchemaItemProps[]; disabled?: boolean; children?: React.ReactNode; renderAction?: (props: KpFormProps) => React.ReactNode; afterFormSourceRender?: (config: { form: KpFormInstance; }) => void; onChangeSource?: (source: Required['source']) => void; } declare const KpSchemaForm: (props: KpSchemaFormProps & { ref?: React.Ref> | undefined; }) => React.ReactElement; export type { KpSchemaFormProps }; export default KpSchemaForm;