import type { ReactNode } from 'react'; import React from 'react'; import type { NativeProps } from './utils'; import type { ListProps } from 'antd-mobile/es/components/list'; import type { FormProps as RcFormProps, FormInstance as RCFormInstance } from 'rc-field-form'; import type { FormContextType } from './context'; import type { FormLayout } from '.'; export declare type FormInstance = Pick; export declare type FormProps = Pick & NativeProps<'--border-inner' | '--border-top' | '--border-bottom'> & Partial & { footer?: ReactNode; layout?: FormLayout; mode?: ListProps['mode']; }; export declare const Form: React.ForwardRefExoticComponent, "children" | "form" | "name" | "initialValues" | "preserve" | "validateMessages" | "validateTrigger" | "onFieldsChange" | "onFinish" | "onFinishFailed" | "onValuesChange"> & NativeProps<"--border-inner" | "--border-top" | "--border-bottom"> & Partial & { footer?: ReactNode; layout?: FormLayout | undefined; mode?: ListProps['mode']; } & React.RefAttributes>;