import { type ReactElement } from 'react';
import type { TenantListDto, TenantApplicationDto } from '@/services/api/adminApi/tenants';
import type { RoleListDto } from '@/services/api/adminApi/roles';
import type { TenantConfig } from '@/hooks/useUserCreateWizard';
interface TenantCache {
    apps?: TenantApplicationDto[];
    loading: boolean;
    error: string | null;
}
interface AppsRolesStepProps {
    readonly selectedTenantIds: string[];
    readonly availableTenants: TenantListDto[];
    readonly tenantConfig: ReadonlyMap<string, TenantConfig>;
    readonly tenantCache: ReadonlyMap<string, TenantCache>;
    readonly assignableRoles: RoleListDto[];
    readonly rolesLoading: boolean;
    readonly rolesError: string | null;
    readonly onEnsureLoaded: (tenantId: string) => Promise<void>;
    readonly onToggleRole: (tenantId: string, roleId: string) => void;
    readonly onSetIsOwner: (tenantId: string, isOwner: boolean) => void;
}
export declare function AppsRolesStep({ selectedTenantIds, availableTenants, tenantConfig, tenantCache, assignableRoles, rolesLoading, rolesError, onEnsureLoaded, onToggleRole, onSetIsOwner, }: AppsRolesStepProps): ReactElement;
export {};
//# sourceMappingURL=AppsRolesStep.d.ts.map