declare type NotificationType = "last" | "every"; declare type NotificationConfig = { type: NotificationType; time: number; }; export declare type PomodoroCallbacks = { onTick?: (state: PomodoroState) => void; onStart?: (state: PomodoroState) => void; onStop?: (state: PomodoroState) => void; onToggle?: (state: PomodoroState) => void; onReset?: (state: PomodoroState) => void; onNext?: (state: PomodoroState) => void; onChangeType?: (state: PomodoroState) => void; onChangeConfig?: (state: PomodoroState) => void; }; export declare type PomodoroType = "pomodoro" | "shortBreak" | "longBreak"; export declare type PomodoroConfig = { pomodoro: number; shortBreak: number; longBreak: number; autoStartBreaks: boolean; autoStartPomodoros: boolean; longBreakInterval: number; notificationConfig: NotificationConfig; }; export declare type PomodoroState = { config: PomodoroConfig; paused: boolean; pomodoros: number; timer: number; type: PomodoroType; }; declare type PomodoroNoPayloadActionType = "tick" | "start" | "stop" | "reset"; declare type PomodoroNextAction = { type: "next"; payload: PomodoroType; }; declare type PomodoroChangeTypeAction = { type: "changeType"; payload: PomodoroType; }; declare type PomodoroChangeConfigAction = { type: "changeConfig"; payload: Partial; }; export declare type PomodoroAction = { type: PomodoroNoPayloadActionType; } | PomodoroChangeTypeAction | PomodoroChangeConfigAction | PomodoroNextAction; export {};