import { DynamoDbPaginatorInterface } from './DynamoDbPaginatorInterface'; import { ConsumedCapacity } from '@aws-sdk/client-dynamodb'; import { AttributeValue } from "@aws-sdk/client-dynamodb/dist-types/models/models_0"; export declare abstract class ItemIterator implements AsyncIterableIterator> { private readonly paginator; private _iteratedCount; private lastResolved; private readonly pending; protected constructor(paginator: Paginator); /** * @inheritDoc */ [Symbol.asyncIterator](): AsyncIterableIterator>; /** * The capacity units consumed by the Scan operation. The data returned * includes the total provisioned throughput consumed, along with statistics * for the table and any indexes involved in the operation. ConsumedCapacity * is only returned if the ReturnConsumedCapacity parameter was specified. */ get consumedCapacity(): ConsumedCapacity | undefined; /** * The number of items that have been iterated over. */ get count(): number; /** * @inheritDoc */ next(): Promise>>; /** * Detaches the underlying paginator from this iterator and returns it. The * paginator will yield arrays of unmarshalled items, with each yielded * array corresponding to a single call to the underlying API. As with the * underlying API, pages may contain a variable number of items or no items, * in which case an empty array will be yielded. * * Calling this method will disable further iteration. */ pages(): Paginator; /** * @inheritDoc */ return(): Promise>>; /** * The number of items evaluated, before any ScanFilter is applied. A high * scannedCount value with few, or no, Count results indicates an * inefficient Scan operation. For more information, see Count and * ScannedCount in the Amazon DynamoDB Developer Guide. */ get scannedCount(): number; private getNext; }