/** * Copyright 2025 © BeeAI a Series of LF Projects, LLC * SPDX-License-Identifier: Apache-2.0 */ interface PaginateInput { size: number; handler: (data: { cursor?: C; limit: number; }) => Promise<{ data: T[]; nextCursor?: C; }>; } declare function paginate(input: PaginateInput): Promise; export { type PaginateInput, paginate };