import type { MemoryEntry } from './backends/base.js'; export interface PrepopulateOptions { docs?: boolean; git?: boolean; skills?: boolean; limit?: number; since?: string; verbose?: boolean; } export interface PrepopulateResult { docsProcessed: number; gitCommitsProcessed: number; skillsDiscovered: number; artifactsDiscovered: number; memoriesCreated: number; errors: string[]; } export interface DiscoveredSkill { name: string; path: string; type: 'droid' | 'skill' | 'command' | 'artifact'; description?: string; platform: 'factory' | 'claude' | 'opencode' | 'generic'; } interface ParsedDocument { path: string; title: string; sections: Array<{ heading: string; content: string; type: 'setup' | 'architecture' | 'api' | 'troubleshooting' | 'general'; }>; } interface GitCommit { hash: string; date: string; author: string; message: string; body: string; files: string[]; type: 'fix' | 'feat' | 'refactor' | 'docs' | 'test' | 'chore' | 'revert' | 'other'; } /** * Prepopulate memory from project documentation, git history, and skills/artifacts */ export declare function prepopulateMemory(cwd: string, options?: PrepopulateOptions): Promise<{ shortTerm: MemoryEntry[]; longTerm: MemoryEntry[]; skills: DiscoveredSkill[]; }>; /** * Parse all documentation files in the project */ export declare function parseDocumentation(cwd: string, verbose?: boolean): Promise; /** * Extract git commit history with details */ export declare function extractGitHistory(cwd: string, limit?: number, since?: string): Promise; /** * Convert documentation into memory entries */ export declare function extractDocumentationMemories(docs: ParsedDocument[]): MemoryEntry[]; /** * Convert git history into memory entries with learnings */ export declare function extractGitLearnings(commits: GitCommit[]): MemoryEntry[]; /** * Discover skills, droids, commands, and artifacts from various platforms */ export declare function discoverSkillsAndArtifacts(cwd: string, verbose?: boolean): Promise; /** * Convert discovered skills into memory entries */ export declare function extractSkillMemories(skills: DiscoveredSkill[]): MemoryEntry[]; export {}; //# sourceMappingURL=prepopulate.d.ts.map