import type { RuntimeMemoryImportance, RuntimeMemoryMutationResult, RuntimeMemorySnapshot, RuntimeMemoryTarget } from '../contracts.ts' export interface RuntimePageClient { runtimeMemory(): Promise pinRuntimeMemory?(request: { target: RuntimeMemoryTarget; content: string; pinned: boolean; matchBranches?: string[] }): Promise mutateRuntimeMemory(request: { action: 'add' | 'replace' | 'remove' target: RuntimeMemoryTarget content?: string old_text?: string importance?: RuntimeMemoryImportance matchBranches?: string[] branches?: string[] }): Promise }