import type { LearnedPattern } from '../types/index.js';
/**
 * List every learned pattern for a project.
 */
export declare function listPatterns(projectId: string): Promise<LearnedPattern[]>;
/**
 * Get a single pattern by ID. Returns `null` when not found.
 */
export declare function getPattern(projectId: string, patternId: string): Promise<LearnedPattern | null>;
/**
 * Add a new learned pattern.
 */
export declare function addPattern(projectId: string, pattern: LearnedPattern): Promise<LearnedPattern>;
/**
 * Update an existing pattern. Throws if not found.
 */
export declare function updatePattern(projectId: string, patternId: string, updates: Partial<LearnedPattern>): Promise<LearnedPattern>;
/**
 * Increment the usage count of a pattern.
 */
export declare function incrementPatternUsage(projectId: string, patternId: string): Promise<LearnedPattern>;
/**
 * Delete a pattern by ID. Returns `true` if removed, `false` if not found.
 */
export declare function deletePattern(projectId: string, patternId: string): Promise<boolean>;
/**
 * Find patterns by type.
 */
export declare function findPatternsByType(projectId: string, type: LearnedPattern['type']): Promise<LearnedPattern[]>;
/**
 * Find patterns matching a predicate.
 */
export declare function findPatterns(projectId: string, predicate: (pattern: LearnedPattern) => boolean): Promise<LearnedPattern[]>;
/**
 * Clear all patterns for a project.
 */
export declare function clearPatterns(projectId: string): Promise<void>;
//# sourceMappingURL=pattern-store.d.ts.map