export interface TimeInputProps { id: string; fieldId: string; classBlock?: string; classModifiers?: string | string[] | null; className?: string; propsInError?: null | { minute?: boolean; hour?: boolean; }; value?: null | string; onChange?: (event: any) => void; readonly?: boolean; } export declare const DEFAULT_CLASS = "govuk-date-input"; /** ## If you're asking more than one question on the page If you're asking more than one question on the page, do not set the contents of the as the page heading. Read more about [asking multiple questions on question pages]. Make sure errors follow the guidance in error message and have specific error messages for specific error states. If there's more than one error, show the highest priority error message. In order of priority, show error messages about: - missing or incomplete information - information that cannot be correct (for example, the number "25" in the hour field - information that fails validation for another reason ### If nothing is entered Highlight the time input as a whole. Say 'Enter [whatever it is]'. For example, 'Enter event time'. ### If the time is incomplete HHighlight the hour or minute field where the information is missing. Say '[whatever it is] must include a [whatever is missing]'. For example, 'Event time must include minutes'. ### If invalid hours and minutes given Highlight the time input as a whole. Say 'Enter the event time in hours and minutes'. ### If invalid hours given Highlight the hour field. Say 'Enter number of hours between 0 and 23'. ### If invalid minutes given Highlight the minute field. Say 'Enter number of minutes between 0 and 59'. [ask users for times]: https://design-system.service.gov.uk/patterns/times/ [why and how to set legends as headings]: https://design-system.service.gov.uk/get-started/labels-legends-headings/ [asking multiple questions on question pages]: https://design-system.service.gov.uk/patterns/question-pages/#asking-multiple-questions-on-a-page [error message]: https://design-system.service.gov.uk/components/error-message/ */ export declare const TimeInput: ({ id, fieldId, classBlock, classModifiers, className, onChange, propsInError, readonly, value, ...attrs }: TimeInputProps) => import("react/jsx-runtime").JSX.Element | null;