import { RegisterOptions } from 'react-hook-form'; import { ScheduleDaysOfMonth } from '@zeniai/client-epic-state'; import { DisableMode } from '../common/common'; export type DayOfMonthSelectorOptionType = "day" | "lastDayOfMonth"; export interface DayOfMonthSelectorOptionsSelectValue { dayOfMonth?: ScheduleDaysOfMonth; type?: DayOfMonthSelectorOptionType; } export type FormDataKeys = keyof DayOfMonthSelectorOptionsSelectValue; export interface Props { defaultValue: DayOfMonthSelectorOptionsSelectValue; name: string; placeholder: string; isDisabled?: DisableMode; registerOptions?: RegisterOptions; style?: React.CSSProperties; onCancelClick: () => void; onSaveClick: () => void; onMenuOpenChange?: (open: boolean) => void; } export default function DayOfMonthSelector({ defaultValue, name, onMenuOpenChange, placeholder, style, isDisabled, registerOptions, onSaveClick, onCancelClick, }: Readonly): import("react/jsx-runtime").JSX.Element;