import BigEntity from '../road/big/BigEntity';
/**
 * The streak in the Big Road.
 */
declare class Streak {
    private _firstEntity;
    private _lastEntity;
    private _next;
    private _prev;
    private _length;
    getFirstEntity(): BigEntity | undefined;
    getLastEntity(): BigEntity | undefined;
    getNextStreak(): Streak | undefined;
    getPreviousStreak(): Streak | undefined;
    setNextStreak(streak: Streak): void;
    setPreviousStreak(streak: Streak): void;
    /**
     * How many entities are in this streak.
     * @return {number} The length of the streak
     */
    getLength(): number;
    /**
     * Add an entity to the streak. The entity will be added to the end of the streak. If the entity is not the same(banco or punto) as the last entity in the streak, it will not be added.
     * @param {BigEntity} entity
     * @return {boolean} True if the entity was added, false if it was not
     */
    addEntity(entity: BigEntity): boolean;
}
export default Streak;
