/** * Common formatting utilities for rendering analysis results */ /** * Formats a number with locale-specific formatting * * @param value - The number to format * @returns Formatted string with thousands separators */ export declare function formatNumber(value: number): string; /** * Creates a markdown table from an array of objects * * @param data - Array of objects to display in table * @param columns - Array of column configurations * @returns Formatted markdown table string */ export declare function createMarkdownTable>(data: T[], columns: Array<{ key: keyof T; header: string; formatter?: (value: unknown) => string; }>): string; /** * Creates a bulleted list from an array of items * * @param items - Array of items to display in list * @param formatter - Optional formatter function for each item * @returns Formatted markdown list string */ export declare function createBulletedList(items: T[], formatter?: (item: T) => string): string; /** * Format a date string or timestamp for display * * @param dateValue - Date string, timestamp, or Date object * @param format - Format style: 'full', 'date', or 'time' * @returns Formatted date string */ export declare function formatDate(dateValue: string | number | Date, format?: "full" | "date" | "time"): string; /** * Format a percentage value * * @param value - Value to format as percentage * @param decimalPlaces - Number of decimal places to include * @param includeSign - Whether to include a + sign for positive values * @returns Formatted percentage string */ export declare function formatPercentage(value: number, decimalPlaces?: number, includeSign?: boolean): string;