import { DirectionType, ShapeType, SizeType, ThemeType } from '../const/types.js'; import { FormItemHandle } from './form.js'; import { ColProps, FormRules } from './types.js'; export interface FormContextValue { model: Record; rules?: FormRules; layout: DirectionType; name?: string; size?: SizeType; shape?: ShapeType; theme?: ThemeType; disabled?: boolean; readOnly?: boolean; colon?: boolean; labelCol?: ColProps; wrapperCol?: ColProps; getValue: (path: string) => unknown; setValue: (path: string, value: unknown) => void; register: (item: FormItemHandle) => void; unregister: (prop: string, item: FormItemHandle) => void; } export declare const FormContext: import('react').Context;