'use client' import type { GuideMethod } from './types' import { cn } from '@langgenius/dify-ui/cn' import { useTranslation } from 'react-i18next' import { StepShell } from './layout' function MethodCard({ icon, title, description, badge, selected, onClick }: { icon: string title: string description: string badge?: string selected: boolean onClick: () => void }) { return ( {title} {badge && ( {badge} )} {description} ) } export function MethodStep({ method, onSelect }: { method?: GuideMethod onSelect: (method: GuideMethod) => void }) { const { t } = useTranslation('deployments') return ( onSelect('bindApp')} /> onSelect('importDsl')} /> ) }