import { KosTimer, TimerEvent } from '../../../models';

interface TimerHookProps {
    timerName: string;
    onTimerExpired: (event: TimerHookEvent) => void;
    onTimerTick?: (event: TimerTickEvent) => void;
    timerEventActions?: Record<string, (event: TimerHookEvent) => void>;
    autoStart?: boolean;
}
type TimerHookEvent = TimerEvent & {
    timer: KosTimer;
};
type TimerTickEvent = Omit<TimerHookEvent, "action"> & {
    timer: KosTimer;
};
export declare const useTimer: ({ timerName, onTimerExpired, onTimerTick, timerEventActions, autoStart, }: TimerHookProps) => {
    timer: KosTimer | undefined;
    start: () => void;
    reset: () => void;
    pause: () => void;
};
export {};
//# sourceMappingURL=use-timer.d.ts.map