import type { PrimeApi } from "../api"; interface IPaginationLink { requestContext: { transform: string; requestParameters: { [key: string]: string; }; }; } export interface IFirstPage { paginationLink?: IPaginationLink; } export declare class Paginated implements AsyncIterable { protected readonly api: PrimeApi; private readonly firstPage; private readonly transformItem; private readonly getItems; constructor(api: PrimeApi, firstPage: IFirstPage, transformItem: (raw: any) => T, getItems?: (page: any) => any[]); [Symbol.asyncIterator](): AsyncIterator; } export {};