import { Component } from 'react'; export interface IWhenIdleProps { timeout?: number; } export interface IWhenIdleState { ready: boolean; } export declare class WhenIdle extends Component { mounted: boolean; state: IWhenIdleState; componentDidMount(): void; componentWillUnmount(): void; render(): {}; }