import { FC, ReactNode } from 'react'; import { StandardProps } from '@react-foundry/component-helpers'; export { withField, withForm, withControl } from './hocs'; export { Page } from './page'; export { Fork } from './fork'; export { after, alpha, alphanumeric, before, date, email, exactLength, fullDate, future, integer, maximum, maxLength, maxWords, minimum, minLength, minWords, mobileNumber, numeric, past, postalCode, range, required, url, validator } from './validators'; type Method = 'get' | 'post'; export type FormProps = StandardProps & { action: string; children?: ReactNode; debug?: boolean | undefined; initialValues?: T | undefined; method: Method; validate?: (values: T) => T; }; export declare const Form: FC>; export default Form; export type { ControlProps, FieldProps, RawField } from './hocs'; export type { Validator } from './validators';