import { Pattern, TasteModel } from '../../../types';
import { ValidationResult } from '../../../core/pattern-validator';
import { SearchQuery, SearchResult } from '../../../core/pattern-search';
import { RankedPattern } from '../../../core/pattern-ranking';
export declare class PatternStore {
    private storePath;
    private patterns;
    private patternIndex;
    private confidenceEngine;
    private validator;
    private searchEngine;
    private rankingEngine;
    private qualityEngine;
    private lifecycleTracker;
    private relationshipEngine;
    private validationLog;
    constructor(cellDir: string);
    addOrUpdatePattern(category: string, description: string, from: string, to: string, isPositive: boolean, conditions?: Pattern['conditions'], scope?: Pattern['scope'], stepUsed?: string, language?: string): Pattern;
    private createPattern;
    private updatePattern;
    getPattern(patternId: string): Pattern | undefined;
    getAllPatterns(): Pattern[];
    getPatternsByTier(tier: string): Pattern[];
    getPatternsAboveConfidence(threshold: number): Pattern[];
    getPatternCount(): number;
    getTotalSignals(): number;
    search(query: SearchQuery): SearchResult;
    getRankedPatterns(): RankedPattern[];
    getValidationLog(): ValidationResult[];
    exportTasteModel(): TasteModel;
    exportTasteMarkdown(): string;
    save(): void;
    clear(): void;
    private rebuildRelationships;
    private rebuildRankings;
    private findExistingPattern;
    private load;
    private groupByCategory;
    private formatCategoryName;
    private ensureDirectory;
}
//# sourceMappingURL=pattern-store.d.ts.map