import { InputDescriptor, Option, QuestionnaireState, StateDeriver } from 'types'; type DateOfEventFieldsOptions = { /** * Year options for the year child select. Defaults to past years gated * by `config.minimumAge` (the date-of-birth shape). Override for any * non-birth date — e.g., the next 5 years for a treaty effective date. */ getYearOptions?: StateDeriver; }; /** * Build the `{ month, day, year }` children for a date-of-event descriptor. * Each child is a regular `InputDescriptor` with its own state key; their * `getChangedFields` keeps the combined `${parentKey}` value in sync. */ export declare const buildDateOfEventFields: (parentKey: string, options?: DateOfEventFieldsOptions) => NonNullable; /** * Split an `mm/dd/yyyy` string into the three separate state keys for a * given parent key. Used by `transformInbound` to seed all four slots from * inbound data, since `getChangedFields` only fires from `setValue`. * * Month and day are padded to 2 digits, year to 4, to match select option * values: `getMonthOptions` returns `'01'`–`'12'` and `dayOptions` are * `'01'`–`'31'`. Without padding, an unpadded `'3/15/1990'` would store * month=`'3'` while the select option is `'03'`, leaving the dropdown blank * for pre-filled data. */ export declare const splitDateOfEvent: (parentKey: string, combined: string | undefined) => Partial; export {};