import type { ReactElement } from 'react';
import { type RoleListDto, type UserConsolidatedRoleDto } from '@/services/api/adminApi';
interface TenantMembership {
    tenantId: string;
    tenantSlug: string;
    tenantUserId: string;
    tenantName: string;
}
interface UserRoleAssignmentProps {
    readonly userId: string;
    readonly assignedRoles: UserConsolidatedRoleDto[];
    readonly onSave: () => Promise<void>;
    readonly onGlobalRolesUpdate: (roleIds: string[]) => Promise<void>;
    readonly roles: RoleListDto[];
    readonly loading?: boolean;
    readonly globalRoleIds: string[];
    readonly tenantId?: string;
    readonly isGlobalScope?: boolean;
    readonly tenantMemberships?: TenantMembership[];
}
export declare function UserRoleAssignment({ assignedRoles, onSave, onGlobalRolesUpdate, roles: rolesProp, loading, globalRoleIds, tenantId, isGlobalScope, tenantMemberships, }: UserRoleAssignmentProps): ReactElement;
export {};
//# sourceMappingURL=UserRoleAssignment.d.ts.map