interface NegativeExampleEntry {
    notUseful: number;
    lastUpdatedAt: string;
    notes?: string[];
}
declare class NegativeExampleStore {
    private readonly statePath;
    private state;
    constructor(memoryDir: string);
    load(): Promise<void>;
    /**
     * Record that a memory was retrieved but not useful for the user.
     * This should be lightweight and never block agent execution.
     */
    recordNotUseful(memoryIds: string[], note?: string): Promise<void>;
    /**
     * Convert negative examples into a small score penalty.
     * Intended as a soft bias, not a hard filter.
     */
    penalty(memoryId: string, opts: {
        perHit: number;
        cap: number;
    }): number;
}

export { type NegativeExampleEntry, NegativeExampleStore };
