/** * Users Resource * * Enhanced user management beyond standard OneRoster. */ import type { ListUsersParams } from '@timeback/types/zod'; import type { EdubridgeTransportLike, Role, User } from '../types'; /** * Users resource for querying users with enhanced filtering. * * Provides role-based filtering and search capabilities beyond * the standard OneRoster API. */ export declare class UsersResource { private readonly transport; constructor(transport: EdubridgeTransportLike); /** * List users with filtering. * * Returns users who have exclusively the specified role(s) and no other roles. * * @param params - Query parameters including required roles filter * @returns List of matching users */ list(params: ListUsersParams): Promise; /** * List all students. * * Convenience method for listing users with student role. * * @param params - Optional query parameters * @returns List of students */ listStudents(params?: Omit): Promise; /** * List all teachers. * * Convenience method for listing users with teacher role. * * @param params - Optional query parameters * @returns List of teachers */ listTeachers(params?: Omit): Promise; /** * Search users by role. * * @param roles - Roles to filter by * @param search - Search term * @param limit - Maximum results * @returns List of matching users */ search(roles: Role[], search: string, limit?: number): Promise; } //# sourceMappingURL=users.d.ts.map