import { Artifact } from '../types.js'; export declare class ArtifactManager { private baseDir; private artifacts; constructor(customDir?: string); private ensureDirectory; private getIndexPath; private loadIndex; private persistIndex; sanitizeAndEnhanceMindmap(content: string, title: string): string; saveArtifact(artifact: Artifact): Artifact; enhanceHtmlArtifact(content: string, title: string): string; generateRichPortfolioHtml(title: string): string; generateRichTodoHtml(title: string): string; generateRichWorkoutHtml(title: string, _rawPlan?: string): string; generateRichDietHtml(title: string, _rawPlan?: string): string; generateRichStudyRoadmapHtml(title: string, _rawPlan?: string): string; generatePlanSpaHtml(title: string, prompt: string, rawPlan?: string): string; getArtifactHtml(artifact: Artifact): string; getArtifact(id: string): Artifact | null; getAllArtifacts(): Artifact[]; getArtifactsBySession(sessionId: string): Artifact[]; getArtifactsGroupedBySession(): Array<{ sessionId: string; sessionTitle: string; artifacts: Artifact[]; }>; deleteArtifact(id: string): boolean; getArtifactFilePath(id: string): string | null; /** * Parses ``, JSON create_artifact, and raw Mermaid mindmaps * blocks from text, saves them to store, and replaces them with clean Markdown badges. */ parseAndStoreArtifacts(rawText: string, sessionId?: string, sessionTitle?: string): { cleanText: string; artifacts: Artifact[]; }; } export declare const artifactManager: ArtifactManager; //# sourceMappingURL=artifactManager.d.ts.map