import type { FormInstance } from 'antd';
import React from 'react';
import { type MetadataTexts } from '../metadata/locale';
import './index.less';
export interface MetadataFormProps {
    type: 'labels' | 'taints' | 'annotations' | string;
    form: FormInstance;
    needTilte?: boolean;
    datasource?: unknown;
    valueRequired?: boolean;
    texts?: MetadataTexts;
}
export interface MetadataFormRef {
    getData: () => ReturnType<FormInstance['getFieldsValue']>;
    validate: FormInstance['validateFields'];
}
declare const MetadataForm: React.ForwardRefExoticComponent<MetadataFormProps & React.RefAttributes<MetadataFormRef>>;
export default MetadataForm;
