import { type ReactNode } from 'react';
import { type FunCountdownProps } from '../components/FunCountdown/FunCountdown';
export interface UseCountdownResult {
    countdown: ReactNode;
    isLastSecond: boolean;
    restartCountdown(): void;
}
interface UseCountdownOptions extends Omit<FunCountdownProps, 'onCountdownLastSecond'> {
    autoRestart?: boolean;
}
export declare function useCountdown({ onCountdownEnded, autoRestart, ...props }: UseCountdownOptions): UseCountdownResult;
export {};
