/** * Pagination Utilities * * Re-exports the common Paginator with OneRoster-specific configuration. */ import { Paginator as BasePaginator } from '@timeback/internal-client-infra'; import type { ListParams } from '@timeback/internal-client-infra'; import type { OneRosterTransportLike } from '../types'; /** * OneRoster-specific Paginator that uses the OneRoster transport. * * Accepts params with `max` included for consumer convenience, * then extracts and forwards it to the base Paginator. * * Validates list parameters before making any network requests. * * @typeParam T - The type of items being paginated * @typeParam F - The filter fields type for type-safe where/sort */ export declare class Paginator extends BasePaginator { /** * Create a new OneRoster Paginator. * * @param transport - OneRoster transport instance * @param path - API endpoint path * @param params - List parameters including optional max * @param unwrapKey - Response key containing the items array (e.g., "users") * @param transform - Optional transform function applied to each item * @throws {InputValidationError} If params are invalid (e.g., negative limit) */ constructor(transport: OneRosterTransportLike, path: string, params?: ListParams, unwrapKey?: string, transform?: (item: T) => T); } //# sourceMappingURL=pagination.d.ts.map