/**
 * Utility functions for the FileTextbox component.
 */
import type { FileTextboxValue } from '../../types/file_textbox.js';
export declare const TAG_COLORS: string[];
export declare function get_tag_color(tag: string): string;
export declare function format_file_size(bytes: number): string;
export declare function get_file_icon(mime_type: string): import("react-icons/lib").IconType;
export declare function merge_adjacent_text_blocks(blocks: FileTextboxValue): FileTextboxValue;
export declare function count_files(blocks: FileTextboxValue): number;
/** Map a response_choice value to a short display label for the file tag */
export declare const RESPONSE_LABELS: Record<string, string>;
export declare function get_response_label(choice: string): string;
//# sourceMappingURL=utils.d.ts.map