import { PaginatedResolvedAcsOptions } from '../../service'; import { PaginatedACSState } from '../../types'; import { BaseACSCache } from './base'; export declare class PaginatedACSCache extends BaseACSCache { static readonly FIRST_PAGE_TOKEN = ""; protected readonly state: PaginatedACSState; /** * Token for fetching pages of active contracts. will loop over pages until desired offset is reached. When last obtained page was the last one it is `undefined` */ private nextPageToken; update(options: PaginatedResolvedAcsOptions): Promise; calculateAt(offset: number): { workflowId?: string; contractEntry?: import("../../../../ledger-client-types/dist/generated-clients/openapi-3.5.1").components["schemas"]["JsContractEntry"]; streamContinuationToken?: string; }[]; /** * Retrieves a specific page from the cache using the page token. * @param pageToken defaults to {@link PaginatedACSCache.FIRST_PAGE_TOKEN} */ getPage(pageToken?: string): { activeContracts: import("../../../../ledger-client-types/dist/generated-clients/openapi-3.5.1").components["schemas"]["JsGetActiveContractsResponse"][]; activeAtOffset: number; nextPageToken?: string; }; /** * Initializes the cache state by fetching the first page of active contracts. */ private initState; } //# sourceMappingURL=paginatedItem.d.ts.map