export interface CursorPage { readonly items: readonly T[]; readonly nextCursor?: number; } export type CursorPageReader = (cursor: number | undefined) => Promise>; /** * Read every page exactly once. Cursor cycles fail visibly instead of silently * hiding older memory/identity records or spinning forever. */ export declare function collectCursorPages(readPage: CursorPageReader, maxPages?: number): Promise; //# sourceMappingURL=pagination.d.ts.map