import { type StoreMetaFields } from './shared/storeRead.js'; export interface LearningsError { error: string; message: string; hint?: string; } export declare function isLearningsError(result: unknown): result is LearningsError; export type LearningCategory = 'debug' | 'integration' | 'architecture' | 'tooling' | 'process' | 'other'; export interface AppendLearningInput { projectId?: string; category: LearningCategory; title: string; content: string; tags?: string[]; } export interface AppendLearningOutput { timestamp: string; path: string; entry_count: number; location: 'project' | 'global'; } export interface ListLearningsInput { projectId?: string; category?: LearningCategory; limit?: number; } export interface LearningEntry { timestamp: string; category: LearningCategory; title: string; content: string; tags: string[]; } export interface ListLearningsOutput extends StoreMetaFields { path: string; entries: LearningEntry[]; total_count: number; location: 'project' | 'global'; } export declare function appendLearning(input: AppendLearningInput): Promise; export declare function listLearnings(input: ListLearningsInput): Promise; //# sourceMappingURL=learnings.d.ts.map