export interface CommercePreflightStep { step: string; status: 'ok' | 'resolved' | 'blocked' | 'user_confirmation_needed'; detail: string; options?: any[]; instruction?: string; } export interface CommerceCodeContext { project_name: string; client_key: string; secret_key: string | null; newly_created: boolean; api_url: string; mall_name?: string; normal_widget_key?: string; subscription_widget_key?: string; /** 사용자가 준 앱 origin(APP_ORIGIN). 없으면 생성 코드가 로컬 기본값을 쓴다 */ app_origin?: string; membership_mode: 'individual' | 'corporate' | 'both'; id_type: number[]; collect_email: boolean; collect_phone: boolean; collect_address: boolean; corporate_email_domains?: string[]; use_corporate_invite_only?: boolean; use_corporate_signup_approval?: boolean; sub_group_type?: number; } export interface PaymentOptions { pg_alias?: string; method_alias?: string; sandbox?: boolean; mall_name?: string; mall_description?: string; } export interface PreflightResult { steps: CommercePreflightStep[]; context: CommerceCodeContext | null; error: string | null; available_pgs?: any[]; } export interface FileOutput { path: string; content: string; description: string; } export type CommerceFramework = 'react' | 'vue' | 'nuxt' | 'nextjs' | 'svelte' | 'angular'; export type CommerceStep = 'all' | 'setup' | 'products' | 'auth' | 'account' | 'detail' | 'price' | 'order' | 'order-complete' | 'cart' | 'checkout' | 'order-history' | 'cancellation' | 'subscription' | 'user-account' | 'find-password' | 'catalog' | 'wishlist'; //# sourceMappingURL=types.d.ts.map