UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

14 lines • 460 B
export interface McpListPage<TItem> { items?: TItem[]; tools?: TItem[]; resources?: TItem[]; prompts?: TItem[]; nextCursor?: string; } export interface McpPaginationResult<TItem> { items: TItem[]; warnings: string[]; pages: number; } export declare function collectAllPages<TItem>(listFn: (cursor: string | undefined) => Promise<McpListPage<TItem>>): Promise<McpPaginationResult<TItem>>; //# sourceMappingURL=pagination.d.ts.map