import React from 'react'; import type { ReactNode } from 'react'; import { NativeProps } from '../../utils/native-props'; import { ListProps } from '../list'; import type { FormProps as RcFormProps, FormInstance as RCFormInstance } from 'rc-field-form'; import { FormContextType } from './context'; export declare type FormInstance = Pick; export declare type FormProps = Pick & NativeProps<'--border-inner' | '--border-top' | '--border-bottom' | '--prefix-width'> & Partial & { footer?: ReactNode; mode?: ListProps['mode']; }; export declare const Form: React.ForwardRefExoticComponent, "form" | "children" | "name" | "initialValues" | "preserve" | "validateMessages" | "validateTrigger" | "onFieldsChange" | "onFinish" | "onFinishFailed" | "onValuesChange"> & { className?: string | undefined; style?: (React.CSSProperties & Partial>) | undefined; tabIndex?: number | undefined; } & React.AriaAttributes & Partial & { footer?: ReactNode; mode?: ListProps['mode']; } & React.RefAttributes>;