/**
 * Loop decorator. Behavior equivalent of `for(i=0; i<limit; i++)`
 * @example
 *  RepeatBehavior.from(
 *      ActionBehavior.from( () => console.log('A') ),
 *      3
 *  ); // will print A three times when executed
 *
 * @author Alex Goldring
 * @copyright Company Named Limited (c) 2026
 */
export class RepeatBehavior extends AbstractDecoratorBehavior {
    /**
     *
     * @param {Behavior} source
     * @param {number} [count]
     * @return {RepeatBehavior}
     */
    static from(source: Behavior<any>, count?: number): RepeatBehavior;
    /**
     *
     * @param {Behavior} source
     * @param {number} [limit=Infinity]
     */
    constructor(source: Behavior<any>, limit?: number);
    /**
     * How many times to loop
     * @type {number}
     */
    limit: number;
    /**
     * Current loop iteration index
     * @type {number}
     * @private
     */
    private __iterator;
    tick(timeDelta: any): BehaviorStatus;
}
export namespace RepeatBehavior {
    let typeName: string;
}
import { AbstractDecoratorBehavior } from "./AbstractDecoratorBehavior.js";
import { BehaviorStatus } from "../BehaviorStatus.js";
import { Behavior } from "../Behavior.js";
//# sourceMappingURL=RepeatBehavior.d.ts.map