import { LedgerState } from '../generated'; /** * Exhausts a paginated API resource and returns all the results. */ export declare const exhaustPaginationWithLedgerState: (queryFunction: (cursor?: string) => Promise<{ ledger_state: LedgerState; items: T[]; next_cursor?: string | null | undefined; }>, start?: string) => Promise<{ aggregatedEntities: T[]; ledger_state: LedgerState; }>;