import { type EntityNamesRecord } from "../../entity/entity-manager"; import { type TemplateOptions } from "../../types/types"; import { Template } from "../template"; /** * Sonamu Dictionary (SD) 템플릿 * i18n을 위한 sd.generated.ts 파일을 생성합니다. */ export declare class Template__sd extends Template { constructor(); getTargetAndPath(_names?: EntityNamesRecord, sdTarget?: "api" | "web" | "app"): { target: string; path: string; }; render(options: TemplateOptions["sd"]): { body: string; importKeys: never[]; customHeaders: string[]; target: string; path: string; }; /** * react-components의 rc-keys를 추출합 * sonamu/src/dict/rc-keys.ts 파일의 소스 코드를 직접 읽어서 반환 */ private extractRCKeysSourceCode; /** * 모든 entity.json에서 entity labels 추출 * entity.json에서 직접 관리되는 값만 포함 (자동 생성 값 제외) * - entity.{entityId}: entity title * - entity.{entityId}.{propName}: prop desc * - enum.{EnumId}.{value}: enum label */ private extractEntityLabels; /** * entityLabels를 TypeScript 코드로 변환 */ private generateEntityLabelsCode; private escapeString; } //# sourceMappingURL=sd.template.d.ts.map