export interface Config { vaultPath: string; dataDir: string; dbPath: string; } export interface ConfigOverrides { vaultPath?: string; dataDir?: string; } /** * Resolve just the data-dir + db-path without requiring a vault path. * * Used by CLI subcommands that need to read/write the local SQLite DB but * don't touch vault content (`models refresh-cache`, future maintenance * commands). The full `resolveConfig()` requires a vault path because * indexing/server/search all need it; pulling the DB-only path out lets * read-only metadata commands work without forcing the user to set * `VAULT_PATH` on every `npx obsidian-brain models …` invocation. */ export declare function resolveDataConfig(overrides?: { dataDir?: string; }): { dataDir: string; dbPath: string; }; export declare function resolveConfig(overrides: ConfigOverrides): Config;