import { SomeObject } from '../../commonTypes'; import { CountDownProps } from './types'; /** * Hook creates countdown timer * @param {CountDownProps} props - Props to create countdown timer hook * * @returns {number} Timer */ export declare const useCountDown: ({ time, onTick, onStart, onComplete, onPause, interval, }: CountDownProps) => number; /** * Hook excludes unused props from restProps * @param {CountDownProps} props - All props to extract unused ones * * @returns {SomeObject} Unused props from CountDownProps */ export declare const useCountDownRestProps: (props: CountDownProps) => SomeObject;