import type { DatabaseHandle } from '../store/db.js'; export interface CreateNodeOptions { title: string; directory?: string; frontmatter: Record; content: string; } export declare class VaultWriter { private vaultPath; private db; constructor(vaultPath: string, db: DatabaseHandle); createNode(opts: CreateNodeOptions): string; annotateNode(nodeId: string, content: string): void; addLink(sourceId: string, targetRef: string, context: string): void; private indexFile; }