import type { V2Store } from './store-facade.js'; import { type RelatedHit } from './related.js'; export interface WriteInput { prefix: string; content: string; links?: string[]; favorite?: boolean; pinned?: boolean; tags?: string[]; } export interface WriteResult { label: string; uid: string; related: RelatedHit[]; } export declare function writeMemory(store: V2Store, input: WriteInput): WriteResult; export declare function appendMemory(store: V2Store, address: string, content: string): { count: number; }; export interface UpdatePatch { content?: string; obsolete?: boolean; favorite?: boolean; irrelevant?: boolean; pinned?: boolean; newLabel?: string; delete?: boolean; tags?: string[]; } export declare function updateMemory(store: V2Store, address: string, patch: UpdatePatch): boolean;