export interface TaskPatternRecord {
    task: string;
    taskTokens: string[];
    usedFiles: string[];
    timestamp: string;
    successCount: number;
}
export interface TaskPatternMemoryState {
    artifactType: "kiwi-control/task-pattern-memory";
    version: 1;
    updatedAt: string;
    patterns: TaskPatternRecord[];
}
export declare function loadTaskPatternMemory(targetRoot: string): Promise<TaskPatternMemoryState>;
export declare function recordTaskPattern(targetRoot: string, entry: {
    task: string;
    taskTokens: string[];
    usedFiles: string[];
    timestamp: string;
}): Promise<TaskPatternMemoryState>;
export declare function persistTaskPatternMemory(targetRoot: string, state: TaskPatternMemoryState): Promise<string>;
//# sourceMappingURL=task-pattern-memory.d.ts.map