/** * Output formatters for JSON/text CLI output */ import type { TaskWithDeps, LearningWithScore, ContextResult } from "@jamesaphoenix/tx/types"; export declare function toJson(data: unknown): string; export declare function formatTaskWithDeps(t: TaskWithDeps): string; export declare function formatTaskLine(t: TaskWithDeps): string; export declare function formatReadyTaskLine(t: TaskWithDeps): string; export declare function formatContextMarkdown(result: ContextResult): string; export declare function formatLearningSearchResult(r: LearningWithScore): string; export interface TasksMarkdownOptions { includeContext?: Map; /** Override the section title for the tasks list (default: "Ready Tasks") */ sectionTitle?: string; /** Override the empty state message for the tasks list. */ emptyStateMessage?: string; } export interface TasksMarkdownCounts { ready: number; active: number; blocked: number; done: number; } export declare function formatTasksMarkdown(readyTasks: readonly TaskWithDeps[], completedTasks: readonly TaskWithDeps[], allCounts: TasksMarkdownCounts, options?: TasksMarkdownOptions): string; export declare function truncate(str: string, maxLen: number): string; //# sourceMappingURL=output.d.ts.map