import React from "react"; import "./Timer.scss"; export declare type TimerStateType = "INITED" | "PLAYING" | "PAUSED" | "STOPPED"; interface TimerProps { direction?: "forward" | "backward"; initialTime?: number; timeToUpdate?: number; startImmediately?: boolean; formatValue?: (value: number) => string; onStart?: () => any; onResume?: () => any; onPause?: () => any; onStop?: () => any; onReset?: () => any; lastUnit?: "ms" | "s" | "m" | "h" | "d"; checkpoints?: Array<{ time: number; callback: () => any; }>; } export interface IJDTimerProps extends TimerProps { } declare const JDTimer: React.FC; export default JDTimer;