/** * Formats key-value pairs as markdown. * * @param title - Section title * @param fields - Object with field names and values * @returns Formatted markdown string */ export declare function formatMarkdown(title: string, fields: Record): string; /** * Formats a list of items with pagination info. * * @param title - List title * @param items - Array of items to format * @param formatItem - Function to format each item as markdown * @returns Formatted markdown string */ export declare function formatList(title: string, items: any[], formatItem: (item: any) => string): string; /** * Truncates text if it exceeds CHARACTER_LIMIT. * * @param text - Text to potentially truncate * @returns Object with truncated text and boolean indicating if truncation occurred */ export declare function truncateIfNeeded(text: string): { text: string; truncated: boolean; }; /** * Formats a paginated response with metadata. * * @param items - Array of items * @param total - Total count of items * @param offset - Current offset * @param limit - Items per page * @returns Pagination metadata object */ export declare function formatPagination(items: any[], total: number, offset: number, limit: number): { total: number; count: number; offset: number; limit: number; has_more: boolean; next_offset: number | undefined; }; //# sourceMappingURL=formatter.d.ts.map