type LearningsPaths = {
    dir: string;
    seen: string;
    errors: string;
    learnings: string;
    features: string;
};
type Priority = "low" | "medium" | "high" | "critical";
type Area = "frontend" | "backend" | "infra" | "tests" | "docs" | "config";
export type ErrorEntryInput = {
    skillOrCommand: string;
    summary: string;
    errorText?: string;
    context?: string;
    suggestedFix?: string;
    relatedFiles?: readonly string[];
    reproducible?: "yes" | "no" | "unknown";
    priority?: Priority;
    area?: Area;
};
export type LearningEntryInput = {
    category: "correction" | "insight" | "knowledge_gap" | "best_practice";
    summary: string;
    details?: string;
    suggestedAction?: string;
    source?: "conversation" | "error" | "user_feedback";
    relatedFiles?: readonly string[];
    tags?: readonly string[];
    priority?: Priority;
    area?: Area;
};
export type FeatureRequestInput = {
    capability: string;
    userContext?: string;
    complexity?: "simple" | "medium" | "complex";
    suggestedImplementation?: string;
    frequency?: "first_time" | "recurring";
    priority?: Priority;
};
/**
 * Append a structured ERR- entry to .learnings/ERRORS.md. Deduped within a
 * 6-hour window. Best-effort — never throws.
 */
export declare function logErrorEntry(input: ErrorEntryInput): Promise<void>;
/** Append a structured LRN- entry to .learnings/LEARNINGS.md. Best-effort. */
export declare function logLearningEntry(input: LearningEntryInput): Promise<void>;
/** Append a structured FEAT- entry to .learnings/FEATURE_REQUESTS.md. Best-effort. */
export declare function logFeatureRequestEntry(input: FeatureRequestInput): Promise<void>;
/** Test helper: resolves the paths currently in use, for assertions. */
export declare function __learningsPaths(): LearningsPaths;
export {};
