import type { FileOutput } from '../types.js'; import type { MemberMode } from '../member-mode.js'; import { type OptionalFeatureDeclaration } from '../nextjs/storefront-ui.js'; import { type FeatureModule, type StorefrontFeature } from './types.js'; export { STOREFRONT_FEATURES, type StorefrontFeature, type FeatureModule } from './types.js'; /** 선택 기능 검증에서 기능별 시나리오 외에 늘 실행하는 공통 항목(scripts/verify-generated-next.ts --features) */ export declare const COMMON_FEATURE_CHECKS: { id: string; title: string; }[]; export declare const STOREFRONT_FEATURE_DESCRIPTION: string; /** 요청 값(중복·all 포함)을 등록 순서의 기능 목록으로 바꾼다 */ export declare function resolveFeatures(requested: readonly string[] | undefined): StorefrontFeature[]; export declare function featureModules(features: readonly StorefrontFeature[]): FeatureModule[]; /** 기본 선택 기능 선언에 켠 기능을 implemented 로 반영한다 */ export declare function optionalFeatureDeclarations(modules: readonly FeatureModule[]): OptionalFeatureDeclaration[]; export interface AppliedFeatures { files: FileOutput[]; conflicts: string[]; } /** * 기본 생성물(step=all)에 선택 기능을 얹는다. modules 가 비면 files 를 그대로 돌려준다(바이트 동일). * step 이 all 이 아니어서 끼울 기본 파일이 없으면 그 hook 은 건너뛰고 기능 파일만 싣는다. */ export declare function applyStorefrontFeatures(files: FileOutput[], modules: readonly FeatureModule[], memberMode: MemberMode): AppliedFeatures; //# sourceMappingURL=index.d.ts.map