/** * MCP-compliant cursor-based pagination utilities. * * Cursors are opaque tokens that encode pagination state. * Clients should not parse or modify cursors. */ export interface CursorData { offset: number; } /** * Encode pagination state into an opaque cursor string */ export declare function encodeCursor(data: CursorData): string; /** * Decode a cursor string back to pagination state. * Returns null if cursor is invalid. */ export declare function decodeCursor(cursor: string): CursorData | null; /** * Calculate the next cursor if more results exist. * Returns undefined if there are no more results. */ export declare function getNextCursor(currentOffset: number, limit: number, totalFetched: number): string | undefined; //# sourceMappingURL=cursor.d.ts.map