import { ChevronProps } from '../Chevron/Chevron.interface'; import { QuaternaryTypes } from '../utils'; import { CSSProperties, PropsWithChildren, ReactNode } from 'react'; export interface FormProps extends PropsWithChildren { id?: string; onSubmit?: (values: { [index: string]: string | boolean | number | Date | any; }) => void; onValidate?: (values: { [index: string]: string | boolean | number | Date | any; }) => void; icon?: boolean; headline?: ReactNode | string; description?: ReactNode | string; disclosure?: ReactNode | string; variant?: QuaternaryTypes; validateEmail: (email: string) => Promise; validateNMLS?: (nmls_id: string) => Promise; callToAction: Omit; style?: CSSProperties; className?: string; }