import { type NapkinConfig } from "./config.js"; import { type VaultInfo } from "./vault.js"; /** * Create a temporary vault for testing. * .napkin/ is the vault root — all content lives inside it. * Returns: * - projectPath: parent dir (pass to --vault for commands; findVault walks up from here) * - contentPath: the vault content root (pass directly to utilities like listFiles), * named after VaultInfo.contentPath * - vault: the resolved VaultInfo, for core functions that take one * - cleanup: removes everything * * `config` overrides what lands in config.json — pass a contradicting one to * prove an injected instance never reads the file. */ export declare function createTempVault(files?: Record, config?: NapkinConfig): { projectPath: string; contentPath: string; vault: VaultInfo; cleanup: () => void; };