import { type NapkinConfig } from "./config.js"; export interface VaultInfo { /** Vault display name (derived from content root directory) */ name: string; /** Where vault content lives (project root, parent of .napkin/) */ contentPath: string; /** Where config.json lives (always the .napkin/ directory) */ configPath: string; /** Where .obsidian/ directory lives */ obsidianPath: string; /** * Configuration supplied in code. When set it is the whole configuration: * every read goes through `effectiveConfig`, and config.json is never * consulted for this vault. */ config?: NapkinConfig; } /** * Walk up from startDir looking for .napkin/ (or .obsidian/.napkin/ for nested layout). * Resolves the vault layout from config to determine content, config, and obsidian paths. * * Locating the .napkin/ directory is discovery, not configuration, so the * walk runs the same either way. `config` only decides what the layout and * every later setting are — when given, config.json is never read. */ export declare function findVault(startDir?: string, config?: NapkinConfig): VaultInfo;