export interface Prompt { act: string; prompt: string; } export interface LanguagePrompts { [key: string]: Prompt[]; } /** * 获取所有支持的语言列表 */ export declare function getLanguages(): string[]; /** * 根据语言获取该语言的所有提示模板 */ export declare function getPromptsByLanguage(language: string): Prompt[]; /** * 根据语言和动作名称获取特定的提示模板 */ export declare function getPromptByName(language: string, act: string): Prompt | undefined; /** * 格式化提示模板,替换模板中的占位符 */ export declare function formatPrompt(prompt: Prompt, context?: string, query?: string): string; /** * 获取章节思维导图提示模板 */ export declare function getChapterMindMapPrompt(): string; /** * 获取思维导图箭头提示模板 */ export declare function getMindMapArrowPrompt(): string;