import { EventSubscription } from './event'; export declare class Stopify { private runtimeStack; private cps; private retval; private paused; private autoPause; private timeScale; private timeOut; private events; private options; constructor(runtime: IterableIterator, events?: EventSubscription, options?: any); syncExec(): any; setAutoPause(autoPause: boolean): void; setTimeOut(timeOut?: number): void; setTimeScale(timeScale?: number): void; start(): void; stepExec(): void; pause(): void; resume(): void; stop(): void; } export declare const syncExec: (result: any) => any;