/** * @file * * Manages vault registration in the running Obsidian instance. * Delegates to the transport resolved from the context provider. */ import type { ObsidianTransport } from './transport.cjs'; /** * Registers a vault path in the running Obsidian instance. * * Delegates to the active transport's {@link ObsidianTransport.registerVault}. * * @param vaultPath - The absolute path to the vault folder. * @param transportOverride - An explicit transport to use. When omitted, * falls back to the transport configured via the context provider. */ export declare function registerVault(vaultPath: string, transportOverride?: ObsidianTransport): Promise; /** * Unregisters a vault path from the running Obsidian instance. * * Delegates to the active transport's {@link ObsidianTransport.unregisterVault}. * * @param vaultPath - The absolute path to the vault folder. * @param transportOverride - An explicit transport to use. When omitted, * falls back to the transport configured via the context provider. */ export declare function unregisterVault(vaultPath: string, transportOverride?: ObsidianTransport): Promise;