@codervisor/devlog-ai
Version:
AI Chat History Extractor & Docker-based Automation - TypeScript implementation for GitHub Copilot and other AI coding assistants with automated testing capabilities
25 lines • 768 B
TypeScript
/**
* Simple JSON exporter for AI chat data
*
* TypeScript implementation without complex configuration.
*/
export interface JSONExportOptions {
indent?: number;
ensureAscii?: boolean;
}
export declare class JSONExporter {
private defaultOptions;
/**
* Export arbitrary data to JSON file
*/
exportData(data: Record<string, unknown>, outputPath: string, options?: JSONExportOptions): Promise<void>;
/**
* Export chat data specifically
*/
exportChatData(data: Record<string, unknown>, outputPath: string, options?: JSONExportOptions): Promise<void>;
/**
* Custom JSON replacer function for objects that aren't JSON serializable by default
*/
private jsonReplacer;
}
//# sourceMappingURL=json.d.ts.map