export interface MemoryWriteMetadata {
    source?: string;
    category?: string;
    importance?: number;
    eventDate?: string;
    [key: string]: unknown;
}
export interface MemoryWriter {
    addText(text: string, userId: string, metadata?: MemoryWriteMetadata): Promise<unknown>;
    proposeExtracted?(items: Array<{
        text: string;
        category?: string;
        importance?: number;
    }>, userId: string, metadata?: MemoryWriteMetadata): Promise<{
        proposalsAdded?: number;
    }>;
    findRelatedEvents?(text: string, userId: string): Promise<Array<{
        id: string;
    }>>;
    feedback?(ids: string[], signal: "useful" | "irrelevant" | "outdated" | "wrong"): Promise<unknown>;
}
