import { Base, Interaction } from './base'; export declare class NotIdle extends Base { protected immediate: boolean; private interactedWithin; /** * @param interactions set of interactions which will prevent being idle */ when(interactions: Interaction[] | Interaction): this; /** * Adds default interactions to decide if user is not interacting with page. */ whenInteractive(): this; /** * Runs not idle action immediately when an interaction happens * so does not wait until end of the current period to run. * * - Does NOT run immediately by default */ immediately(immediate?: boolean): this; protected onInteraction: () => void; protected onInterval: () => void; }