/** * Iterator used for iterating over database objects. * * This class provides an iterator interface for traversing collections * of database objects. It implements both IterableIterator and provides * additional methods for checking if more items are available. * * @template ResultType - The type of objects being iterated over */ export declare class AcDbObjectIterator implements IterableIterator { /** Current index in the iteration */ private i; private _records; private _keys; /** * Creates a new AcDbObjectIterator instance. * * @param records - Array of objects to iterate over * * @example * ```typescript * const entities = [entity1, entity2, entity3]; * const iterator = new AcDbObjectIterator(entities); * ``` */ constructor(records: Map); /** * The number of items */ get count(): number; /** * Converts values in the current iterator to one array * @returns An array of values in the current iterator */ toArray(): ResultType[]; /** * Returns the iterator itself, allowing it to be used in for...of loops. * * @returns This iterator instance * * @example * ```typescript * for (const entity of iterator) { * console.log('Entity:', entity); * } * ``` */ [Symbol.iterator](): IterableIterator; /** * Increments the iterator to the next entry. * * @returns Iterator result containing the next value or null if done * * @example * ```typescript * const result = iterator.next(); * if (!result.done) { * console.log('Next item:', result.value); * } * ``` */ next(): IteratorResult; } //# sourceMappingURL=AcDbObjectIterator.d.ts.map