import type { FileOutput } from '../types.js'; import { type MemberMode } from '../member-mode.js'; export declare const HOSTED_CHECKOUT_GUIDE = "get_doc('commerce/hosted-checkout-session')"; /** Next.js 생성물의 CartItem 타입 import (lib/types.ts, SF-10) */ export declare const NEXT_CART_ITEM_IMPORT = "import type { CartItem } from '@/lib/types';"; /** 비-Next.js 생성물용 — 공용 타입 파일이 없으므로 같은 모양을 파일 안에 선언한다 */ export declare const STANDALONE_CART_ITEM = "export interface CartItem { productId: string; optionId?: string; quantity: number }"; /** 브라우저 시도 관리 모듈 소스. 모든 프레임워크가 같은 요청 계약({items, requestId, source} → /api/checkout)을 쓴다. */ export declare function checkoutClientSource(cartItemDeclaration: string): string; export declare function generateNextCheckout(memberMode?: MemberMode): FileOutput[]; //# sourceMappingURL=checkout.d.ts.map