import { type UserTenantDto, type TenantListDto } from '@/services/api/adminApi';
import type { ViewMode } from '@/components/ui/ViewModeToggle';
export interface UseUserTenantsOptions {
    userId: string | undefined;
    isCreateMode: boolean;
    setError: (error: string | null) => void;
    setSuccess: (success: string | null) => void;
}
export interface UseUserTenantsReturn {
    userTenants: UserTenantDto[] | null;
    allTenants: TenantListDto[] | null;
    showAddTenantModal: boolean;
    tenantSearch: string;
    tenantsViewMode: ViewMode;
    selectedTenantIds: Set<string>;
    isAddingMultipleTenants: boolean;
    setShowAddTenantModal: (show: boolean) => void;
    setTenantSearch: (search: string) => void;
    setTenantsViewMode: (mode: ViewMode) => void;
    setUserTenants: React.Dispatch<React.SetStateAction<UserTenantDto[] | null>>;
    loadTenants: () => Promise<void>;
    loadAllTenants: () => Promise<void>;
    toggleTenantSelection: (tenantId: string) => void;
    selectAllTenants: (availableTenantIds: string[]) => void;
    clearTenantSelection: () => void;
    closeAddTenantModal: () => void;
    handleAddMultipleTenants: () => Promise<void>;
    handleRemoveTenant: (tenantId: string) => Promise<void>;
}
export declare function useUserTenants({ userId, isCreateMode, setError, setSuccess }: UseUserTenantsOptions): UseUserTenantsReturn;
//# sourceMappingURL=useUserTenants.d.ts.map