import type React from "react"; import { type ReactElement } from "react"; import type { View, TouchableOpacity, Text } from "react-native"; import type Modal from "../Modal"; import type { LatestDurationRef, TimerPickerProps } from "../TimerPicker/types"; import type { CustomTimerPickerModalStyles } from "./styles"; export interface TimerPickerModalRef { latestDuration: { days: LatestDurationRef | undefined; hours: LatestDurationRef | undefined; minutes: LatestDurationRef | undefined; seconds: LatestDurationRef | undefined; }; reset: (options?: { animated?: boolean; }) => void; setValue: (value: { days?: number; hours?: number; minutes?: number; seconds?: number; }, options?: { animated?: boolean; }) => void; } export interface TimerPickerModalProps extends TimerPickerProps { buttonContainerProps?: React.ComponentProps; buttonTouchableOpacityProps?: React.ComponentProps; /** Custom cancel button component. If provided, replaces the default cancel button. */ cancelButton?: ReactElement<{ onPress?: () => void; }>; cancelButtonText?: string; closeOnOverlayPress?: boolean; /** Custom confirm button component. If provided, replaces the default confirm button. */ confirmButton?: ReactElement<{ onPress?: () => void; }>; confirmButtonText?: string; containerProps?: React.ComponentProps; contentContainerProps?: React.ComponentProps; hideCancelButton?: boolean; modalProps?: React.ComponentProps; modalTitle?: string; modalTitleProps?: React.ComponentProps; onCancel?: () => void; onConfirm: ({ days, hours, minutes, seconds, }: { days: number; hours: number; minutes: number; seconds: number; }) => void; setIsVisible: (isVisible: boolean) => void; styles?: CustomTimerPickerModalStyles; visible: boolean; } //# sourceMappingURL=types.d.ts.map