UNPKG

novel-writer-cn

Version:

AI 驱动的中文小说创作工具 - 基于结构化工作流的智能写作助手

83 lines 1.8 kB
/** * 方法自动转换工具 * 在不同写作方法之间转换现有内容 */ interface StoryContent { chapters: Chapter[]; characters: Character[]; worldSetting: WorldSetting; themes: string[]; currentMethod: string; } interface Chapter { number: number; title: string; content: string; structuralRole?: string; wordCount: number; } interface Character { name: string; role: string; arc: string; } interface WorldSetting { time: string; place: string; rules: string[]; } interface ConversionMap { chapters: ChapterMapping[]; structuralNotes: string[]; recommendations: string[]; warnings: string[]; } interface ChapterMapping { original: number[]; target: string; description: string; } export declare class MethodConverter { /** * 转换方法 */ convert(content: StoryContent, targetMethod: string): ConversionMap; /** * 三幕结构转英雄之旅 */ private threeActToHeroJourney; /** * 三幕结构转七点结构 */ private threeActToSevenPoint; /** * 英雄之旅转三幕结构 */ private heroJourneyToThreeAct; /** * 英雄之旅转故事圈 */ private heroJourneyToStoryCircle; /** * 故事圈转三幕结构 */ private storyCircleToThreeAct; /** * 七点结构转三幕结构 */ private sevenPointToThreeAct; /** * 通用转换(当没有特定转换规则时) */ private genericConversion; /** * 生成转换报告 */ generateConversionReport(content: StoryContent, targetMethod: string): string; /** * 获取方法中文名 */ private getMethodName; } export {}; //# sourceMappingURL=method-converter.d.ts.map