UNPKG

jrnl-mcp

Version:

Model Context Protocol server for jrnl CLI journal application

20 lines (19 loc) 591 B
import { JrnlExecutor } from "../utils/jrnlExecutor"; export interface TimeGroupStats { period: string; entryCount: number; wordCount: number; } export interface JournalStatistics { totalEntries: number; totalWords: number; averageWordsPerEntry: number; timeGrouping?: TimeGroupStats[]; topTags?: Array<{ tag: string; count: number; }>; } export declare function getStatistics(journal: string | undefined, timeGrouping: string | undefined, includeTopTags: boolean, executor: JrnlExecutor): Promise<{ statistics: JournalStatistics; }>;