import { ModalContentProps } from '../../../overlays/modal'; import { TimePickerProps } from '../../time-picker/time-picker'; export interface TimePickerModalProps { /** Whether the modal is open. Pair with `onOpenChange`. */ open: boolean; /** Fires when the modal opens or closes (e.g. dismiss via backdrop or Escape). */ onOpenChange: (open: boolean) => void; /** Current committed value (HH:mm). Used to seed the draft when the modal opens. */ value?: string; /** Fires with the chosen value when the user clicks "Confirm". Cancel/dismiss do nothing. */ onConfirm: (value: string) => void; /** Forwarded to the inner `TimePicker`. */ stepMinutes?: TimePickerProps['stepMinutes']; /** Forwarded to the inner `TimePicker`. */ availableTimes?: TimePickerProps['availableTimes']; /** Forwarded to the inner `TimePicker`. */ gridVariant?: TimePickerProps['gridVariant']; /** * Extra props spread onto `Modal.Content`, overriding the `size="small"` / `width="xs"` (capped to 312px) * defaults (including `fullscreen`). `className` is merged, not replaced, so the internal padding reset survives. */ modalProps?: Omit; /** Modal title text. Falls back to the `time-field.modal-title` i18n key. */ title?: string; } export declare const TimePickerModal: { (props: TimePickerModalProps): JSX.Element; displayName: string; }; export default TimePickerModal;