article-writer-cn
Version:
AI 驱动的智能写作系统 - 专注公众号/自媒体文章创作
44 lines • 1.17 kB
TypeScript
#!/usr/bin/env node
/**
* Interactive selection utilities for Article Writer
* Provides arrow-key based selection interface similar to spec-kit
*/
export interface AIConfig {
name: string;
dir: string;
commandsDir: string;
displayName: string;
extraDirs?: string[];
}
/**
* Display project banner
*/
export declare function displayProjectBanner(): void;
/**
* Select AI assistant interactively
*/
export declare function selectAIAssistant(aiConfigs: AIConfig[]): Promise<string>;
/**
* Select workspace type interactively
*/
export declare function selectWorkspace(): Promise<string>;
/**
* Select script type interactively
*/
export declare function selectScriptType(): Promise<string>;
/**
* Display initialization step
*/
export declare function displayStep(step: number, total: number, message: string): void;
/**
* Select formatting theme interactively (for wechat workspace)
*/
export declare function selectFormattingTheme(): Promise<{
theme: string;
primaryColor: string;
}>;
/**
* Check if running in interactive terminal
*/
export declare function isInteractive(): boolean;
//# sourceMappingURL=interactive.d.ts.map