import { DateInParts, DatePartOptions } from './types'; /** * Hook to validate the date part options are valid. * * @param options The options to validate. * @returns A valid set of date part options. */ export declare const useDatePartOptions: (options?: DatePartOptions) => Required; /** * Parses a three-part date value to determine the day/month/year parts. * * @param datePartOptions The optionality of the date parts */ export declare const useValueParser: (datePartOptions: Required) => (value?: string) => DateInParts; /** * Formats date parts into an ISO8601 date string, based on the optionality of each date part. * * @param datePartOptions The optionality of the date parts */ export declare const useValueFormatter: (datePartOptions: Required) => ({ dayValue, monthValue, yearValue }: DateInParts) => string;