import type { TableDef } from "../../toolbox.js"; import type { GenericRecord } from "@webiny/api/types.js"; export interface BatchReadItem { Table?: TableDef; Key: any; } export interface BatchReadParams { table?: TableDef; items: BatchReadItem[]; } /** * This helper function is meant to be used to batch read from one table. * It will fetch all results, as there is a next() method call built in. */ export declare const batchReadAll: (params: BatchReadParams, maxChunk?: number) => Promise;