/**
 * Generic formatting utilities shared across components.
 */
import type { ValidationRuleResult } from '../types/validation.js';
/** Extract explanation text from a rule result (works for both passed and failed) */
export declare function get_rule_explanation(rr: ValidationRuleResult): string | undefined;
/** Format file size in human-readable form */
export declare function format_file_size(bytes: number): string;
/** Format a currency value with locale-aware formatting */
export declare function format_currency_value(value: number, locale?: string, currency_symbol?: string): string;
/** Format an instance label from a date */
export declare function format_instance_label(date?: Date, locale?: string): string;
/** Infer MIME type from file extension */
export declare function infer_mime_type(file_name: string): string;
//# sourceMappingURL=format.d.ts.map