import { type EmbeddingConfig } from "./embedding.js";
export type MemoryBackend = "local_graph" | "kuzu";
export interface MemorySettings {
    backend: MemoryBackend;
    strict: boolean;
    force: boolean;
    mirrorFiles: boolean;
    migrateFiles: boolean;
    project: {
        key: string;
        name: string;
        root: string;
    };
    session: {
        id: string;
        key: string;
    };
    localGraph: {
        path: string;
        ontology: string;
        query: "graphql-lite";
        configured: boolean;
    };
    embedding: EmbeddingConfig;
}
export interface MemoryStatus {
    backend: MemoryBackend;
    strict: boolean;
    force: boolean;
    mirrorFiles: boolean;
    migrateFiles: boolean;
    projectKey: string;
    projectName: string;
    sessionId: string;
    localGraph: {
        configured: boolean;
        path: string;
        ontology: string;
        query: "graphql-lite";
    };
    embedding: Omit<EmbeddingConfig, "apiKey">;
}
type Env = NodeJS.ProcessEnv;
export declare const GLOBAL_MEMORY_CONFIG_TOML = "# open-multi-agent-kit global memory policy\n# Default is project-local graph memory: open-source friendly, no daemon, no secrets.\n# Use backend = \"kuzu\" when you want the embedded Kuzu graph backend.\n[memory]\nbackend = \"local_graph\"    # local_graph | kuzu\nscope = \"project-session\"\nstrict = true               # fail memory writes if the selected graph backend is unavailable\nforce = true                # global policy wins over project-local backend overrides\nmirror_files = true         # keep .omk/memory/*.md as readable mirrors\nmigrate_files = true        # seed the graph from existing .omk/memory files on first read\n\n[local_graph]\npath = \".omk/memory/graph-state.json\"\nontology = \"omk-ontology-mindmap-v1\"\nquery = \"graphql-lite\"\n";
export declare function getGlobalMemoryConfigPath(): string;
export declare function isGraphMemoryBackend(backend: MemoryBackend): boolean;
export declare function usesLocalGraphBackend(backend: MemoryBackend): boolean;
export declare function usesKuzuBackend(backend: MemoryBackend): boolean;
export declare function loadMemorySettings(projectRoot?: string, env?: Env): Promise<MemorySettings>;
export declare function summarizeMemorySettings(settings: MemorySettings): MemoryStatus;
export {};
