export type MemoryRecordStatus = "draft" | "approved" | "pruned";
export type MemoryRecord = {
    id: string;
    category: string;
    body: string;
    status: MemoryRecordStatus;
    createdAt: string;
    updatedAt: string;
    approvedAt?: string;
    prunedAt?: string;
    pruneAuditNote?: string;
};
export type MemoryStoreDocument = {
    schemaVersion: 1;
    records: MemoryRecord[];
};
export declare function memoryStorePath(workspacePath: string): string;
export declare function readMemoryStore(workspacePath: string): MemoryStoreDocument;
export declare function writeMemoryStore(workspacePath: string, doc: MemoryStoreDocument): void;
export declare function listMemoryRecords(workspacePath: string, filter?: {
    status?: MemoryRecordStatus;
    category?: string;
}): MemoryRecord[];
export declare function upsertMemoryDraft(workspacePath: string, input: {
    id?: string;
    category: string;
    body: string;
}): MemoryRecord;
export declare function approveMemoryRecord(workspacePath: string, id: string): MemoryRecord;
export declare function pruneMemoryRecord(workspacePath: string, id: string, auditNote: string): MemoryRecord;
