/** * Represents a circular list that iterates over its elements infinitely. * @template T */ export declare class CircularList { /** The array of items in the circular list. */ private items; /** The generator for iterating over items in a circular manner. */ private gen; /** The current index of the generator. */ index: number; /** * Creates a circular list. * @param {T[]} items - The array of items to include in the circular list. */ constructor(items: T[]); /** * Gets the next item in the circular list, excluding specified items. * @param {T[]} [excludes=[]] - An array of items to exclude from the next item selection. * @returns {T | undefined} The next item in the circular list, or undefined if all items are excluded. */ next(excludes?: T[]): T | undefined; /** * Creates a generator for iterating over items in a circular manner. * @returns {Generator} A generator for iterating over items in a circular manner. */ create(): any; }