import React from 'react';
interface TimerConfig {
}
interface Props {
    children: React.ReactNode;
}
declare type TimerId = number | null;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export interface TimerApi {
    cancel: () => void;
    reset: () => void;
    setTimer: (callback: () => void, duration: number) => void;
    timerId: TimerId;
}
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function useTimer(config: TimerConfig): TimerApi;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function Timer({ children, }: {
    children: (timer: TimerApi) => unknown;
}): unknown;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare const TimerContext: React.Context<TimerApi>;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function TimerProvider({ children }: Props): JSX.Element;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function useTimerContext(): TimerApi;
export {};
