export interface ParsedNote { frontmatter: Record; content: string; originalContent: string; matter?: string; } export interface NoteWriteParams { path: string; content: string; frontmatter?: Record; mode?: 'overwrite' | 'append' | 'prepend'; } export interface PatchNoteParams { path: string; oldString: string; newString: string; replaceAll?: boolean; } export interface PatchNoteResult { success: boolean; path: string; message: string; matchCount?: number; } export interface DeleteNoteParams { path: string; confirmPath: string; trashMode?: 'none' | 'local' | 'system'; } export interface DeleteResult { success: boolean; path: string; message: string; } export interface DirectoryListing { files: string[]; directories: string[]; } export interface FrontmatterValidationResult { isValid: boolean; errors: string[]; warnings: string[]; } export interface PathFilterConfig { ignoredPatterns: string[]; allowedExtensions: string[]; } export interface SearchParams { query: string; limit?: number; searchContent?: boolean; searchFrontmatter?: boolean; caseSensitive?: boolean; /** Restrict the search to a vault subtree (directory prefix, e.g. "Projects/2026"). */ pathPrefix?: string; /** Skip files under any of these subtrees (directory prefixes). */ excludePaths?: string[]; } export interface SearchResult { p: string; t: string; ex: string; mc: number; ln?: number; uri?: string; } export interface RankCandidate { result: SearchResult; termFreqs: Map; docLength: number; } export interface MoveNoteParams { oldPath: string; newPath: string; overwrite?: boolean; } export interface MoveFileParams { oldPath: string; newPath: string; confirmOldPath: string; confirmNewPath: string; overwrite?: boolean; } export interface MoveResult { success: boolean; oldPath: string; newPath: string; message: string; } export interface BatchReadParams { paths: string[]; includeContent?: boolean; includeFrontmatter?: boolean; } export interface BatchReadResult { successful: Array<{ path: string; frontmatter?: Record; content?: string; obsidianUri?: string; }>; failed: Array<{ path: string; error: string; }>; } export interface UpdateFrontmatterParams { path: string; frontmatter: Record; merge?: boolean; } export interface NoteInfo { path: string; size: number; modified: number; hasFrontmatter: boolean; obsidianUri?: string; } export interface TagManagementParams { path: string; operation: 'add' | 'remove' | 'list'; tags?: string[]; } export interface TagManagementResult { path: string; operation: string; tags: string[]; success: boolean; message?: string; } export interface VaultStats { totalNotes: number; totalFolders: number; totalSize: number; recentlyModified: Array<{ path: string; modified: number; }>; } //# sourceMappingURL=types.d.ts.map