export interface NamedElement<T> {
    name: string;
    element: T;
}
export declare class OrderedList<T> implements Iterable<T> {
    protected elements: NamedElement<T>[];
    constructor();
    toArray(): NamedElement<T>[];
    add(name: string, p: T): void;
    length(): number;
    toFront(name: string): void;
    toBack(name: string): void;
    get(index: number): NamedElement<T>;
    [Symbol.iterator](): Iterator<T>;
}
export declare class OrderedListIterator<T> implements Iterator<T> {
    private index;
    private list;
    constructor(list: OrderedList<T>);
    next(value?: any): IteratorResult<T>;
}
//# sourceMappingURL=OrderedList.d.ts.map