/// import DEvent from "../../class/event"; import { Ddan } from "../../typings"; export default class DLoopFrame implements Ddan.ILoopFrame { _loopTimer: string | number | NodeJS.Timeout | undefined; _event: DEvent; started: boolean; interval: number; constructor(interval?: number); start(): this; stop(): this; restart(): this; on(cb: Ddan.Function): this; off(cb: Ddan.Function | undefined): this; _handleLoop(): void; }