import { DynamoDB } from "aws-sdk"; import { DocumentClient } from "aws-sdk/clients/dynamodb"; import { GroupedModels, TaggedModel } from "../types"; import { InternalIteratorOptions } from "./types"; export type RawDynamoDBPage = { LastEvaluatedKey?: DocumentClient.Key; Items?: DocumentClient.ItemList; }; export type PageResults = { items: T[]; errors: Error[]; lastEvaluatedKey?: DynamoDB.DocumentClient.Key; }; export declare function groupAllPages(iterator: AsyncGenerator, PageResults>, modelTags: string[]): Promise>; export declare function pagedIterator(options: InternalIteratorOptions, buildOperation: (opts: InternalIteratorOptions) => T, executeOperation: (op: T) => Promise): AsyncGenerator, PageResults>; //# sourceMappingURL=pagedIterator.d.ts.map