import type { ReactElement } from 'react';
import { type RoleListDto, type UserConsolidatedRoleDto } from '@/services/api/adminApi';
interface AdminTenantInfo {
    tenantId: string;
    tenantSlug: string;
    tenantName: string;
    tenantType: string;
}
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 adminTenants?: AdminTenantInfo[];
    readonly tenantMemberships?: TenantMembership[];
}
export declare function UserRoleAssignment({ userId, assignedRoles, onSave, onGlobalRolesUpdate, roles: rolesProp, loading, globalRoleIds, tenantId, isGlobalScope, adminTenants, tenantMemberships, }: UserRoleAssignmentProps): ReactElement;
export {};
//# sourceMappingURL=UserRoleAssignment.d.ts.map