import type { DatabricksRawProtocolClient } from "./raw-protocol-client.js"; export interface DatabricksManagedMemoryOptions { /** Managed agent memory is a Databricks Beta and must be enabled deliberately. */ acknowledgeBeta: true; } export interface DatabricksMemoryStore { name: string; catalog_name: string; schema_name: string; full_name?: string; description?: string; owner?: string; memory_store_id?: string; securable_type?: "MEMORY_STORE"; created_at?: number; updated_at?: number; created_by?: string; } export interface DatabricksMemoryStorePage { memory_stores?: DatabricksMemoryStore[]; next_page_token?: string; } export interface DatabricksMemoryEntry { path: string; scope?: string; contents?: string; description?: string; memory_store_name?: string; has_contents?: boolean; create_time?: string; update_time?: string; } export interface DatabricksMemoryEntryPage { entries?: DatabricksMemoryEntry[]; next_page_token?: string; } export type DatabricksMemoryEntryEdit = { replaceAll: { contents: string; }; } | { strReplace: { oldString: string; newString: string; }; } | { insert: { text: string; line?: number; }; }; /** * Explicit managed long-term memory client. Scope is required on every entry operation and is never * inferred from model input, keeping tenant partitioning at the trusted application boundary. */ export declare class DatabricksManagedMemoryClient { private readonly client; constructor(client: DatabricksRawProtocolClient, options: DatabricksManagedMemoryOptions); createStore(input: { catalog: string; schema: string; name: string; description?: string; }): Promise; getStore(fullName: string): Promise; listStores(input: { catalog: string; schema: string; pageToken?: string; maxResults?: number; }): Promise; updateStore(fullName: string, description: string): Promise; deleteStore(fullName: string): Promise; createEntry(fullName: string, scope: string, entry: { path: string; contents?: string; description?: string; }): Promise; getEntry(fullName: string, scope: string, path: string): Promise; listEntries(fullName: string, scope: string, options?: { pathPrefix?: string; pageSize?: number; pageToken?: string; }): Promise; updateEntry(fullName: string, scope: string, path: string, edit: DatabricksMemoryEntryEdit, description?: string): Promise; deleteEntry(fullName: string, scope: string, path: string): Promise; search(fullName: string, input: { scope: string; query: string; pathPrefix?: string; topK?: number; }): Promise; } export declare function databricksManagedMemory(client: DatabricksRawProtocolClient, options: DatabricksManagedMemoryOptions): DatabricksManagedMemoryClient; //# sourceMappingURL=managed-memory.d.ts.map