import { DynamoDbPaginatorInterface } from '@awslabs-community-fork/dynamodb-query-iterator'; import { ZeroArgumentsConstructor } from '@awslabs-community-fork/dynamodb-data-marshaller'; import { ConsumedCapacity } from '@aws-sdk/client-dynamodb'; export declare abstract class Paginator implements AsyncIterableIterator> { private readonly paginator; private readonly valueConstructor; private readonly itemSchema; private lastKey?; private lastResolved; protected constructor(paginator: DynamoDbPaginatorInterface, valueConstructor: ZeroArgumentsConstructor); /** * @inheritDoc */ [Symbol.asyncIterator](): this; /** * @inheritDoc */ next(): Promise>>; /** * @inheritDoc */ return(): Promise>>; /** * Retrieve the reported capacity consumed by this paginator. Will be * undefined unless returned consumed capacity is requested. */ get consumedCapacity(): ConsumedCapacity | undefined; /** * Retrieve the number of items yielded thus far by this paginator. */ get count(): number; /** * Retrieve the last reported `LastEvaluatedKey`, unmarshalled according to * the schema used by this paginator. */ get lastEvaluatedKey(): Partial | undefined; /** * Retrieve the number of items scanned thus far during the execution of * this paginator. This number should be the same as {@link count} unless a * filter expression was used. */ get scannedCount(): number; private getNext; }