@vooodooo/magic
Version:
Vooodooo - AI orchestration platform
54 lines (53 loc) • 1.42 kB
TypeScript
/**
* Options for documentation conversion
*/
export interface DocConversionOptions {
/** Input file or directory */
input: string;
/** Output file or directory */
output: string;
/** Whether to process directories recursively */
recursive?: boolean;
}
/**
* System for managing AI and human documentation
*/
export declare class DocSystem {
private aiDir;
private humanDir;
constructor(options?: {
aiDir?: string;
humanDir?: string;
});
/**
* Convert AI documentation to human-readable format
*/
convertAiToHuman(options: DocConversionOptions): Promise<void>;
/**
* Convert human documentation to AI-optimized format
*/
convertHumanToAi(options: DocConversionOptions): Promise<void>;
/**
* Convert a single AI documentation file to human-readable format
*/
private convertAiFileToHuman;
/**
* Convert a directory of AI documentation to human-readable format
*/
private convertAiDirToHuman;
/**
* Convert a single human documentation file to AI-optimized format
*/
private convertHumanFileToAi;
/**
* Convert a directory of human documentation to AI-optimized format
*/
private convertHumanDirToAi;
}
/**
* Create a documentation system
*/
export declare function createDocSystem(options?: {
aiDir?: string;
humanDir?: string;
}): DocSystem;