import { IAbortTimer } from './abort-timer.type';
/** TYPES **/
export interface IdleDeadline {
    timeRemaining(): DOMHighResTimeStamp;
    readonly didTimeout: boolean;
}
export interface IdleRequestOptions {
    timeout?: number | undefined;
}
export declare type IdleCallbackHandle = number;
export interface IdleRequestCallback {
    (deadline: IdleDeadline): void;
}
/** FUNCTION **/
export declare function createIdle(callback: IdleRequestCallback, options?: IdleRequestOptions): IAbortTimer;
