import { Role } from "../types"; /** * Interface for role data access * Implement this to integrate with your database */ export interface IRoleRepository { /** * Get a role by ID */ getRole(roleId: string): Promise; /** * Get multiple roles by IDs */ getRoles(roleIds: string[]): Promise; /** * Get all roles */ getAllRoles(): Promise; /** * Add or update a role */ saveRole(role: Role): Promise; /** * Delete a role */ deleteRole(roleId: string): Promise; } //# sourceMappingURL=IRoleRepository.d.ts.map