import type { Task } from "../types.js"; export interface FormatTaskOptions { verbose?: boolean; treePrefix?: string; truncateName?: number; blockedByIds?: string[]; githubIssue?: number; } export interface TaskStatusDisplay { icon: string; color: string; } /** * Get the status icon and color for a task based on its state. */ export declare function getTaskStatusDisplay(task: Task): TaskStatusDisplay; export declare function formatAge(isoDate: string): string; /** * Format a breadcrumb path from ancestors to current task. * Example: "Epic > Task > Subtask" */ export declare function formatBreadcrumb(ancestors: Task[], current: Task, maxNameLength?: number): string; /** * Wrap text to fit within a specified width, with proper indentation for continuation lines. * Handles ANSI color codes correctly by not counting them toward line length. */ export declare function wrapText(text: string, width: number, indent?: string): string; /** * Truncate text to a maximum length, adding ellipsis if truncated. */ export declare function truncateText(text: string, maxLength: number): string; export declare function formatTask(task: Task, options?: FormatTaskOptions): string; /** * Simple pluralization helper. */ export declare function pluralize(count: number, singular: string, plural?: string): string; //# sourceMappingURL=formatting.d.ts.map