import { FormValidator } from '@viasat/beam-shared/components/form'; import { Nullable } from '@viasat/beam-shared/utils/types'; import { useFormField } from '../Form/contexts'; export interface UseDateFieldFormArgs { name?: string; disabled?: boolean; readOnly?: boolean; required?: boolean; defaultValue?: Nullable; error?: boolean | string; hasHelperText: boolean; validationRules?: Array; ariaDescribedBy?: string; ariaLabelledBy?: string; hasLabel: boolean; } export interface UseDateFieldFormReturn { disabled: boolean; readOnly: boolean; required: boolean; invalid: boolean; errorMessageProvided: boolean; defaultValue: Nullable; errorId: string; helperTextId: string; validationErrorsId: string; labelId: string; ariaDescribedBy: string | undefined; ariaLabelledBy: string | undefined; showErrors: ReturnType['showErrors']; } export declare function useDateFieldForm({ name, disabled: _disabled, readOnly: _readOnly, required: _required, defaultValue: _defaultValue, error, hasHelperText, hasLabel, validationRules, ariaDescribedBy: _ariaDescribedBy, ariaLabelledBy: _ariaLabelledBy, }: UseDateFieldFormArgs): UseDateFieldFormReturn;