import type { MessageAttachment } from "./types"; export declare function hashString(str: string): string; /** * Validates total size of attachments */ export declare function isValidTotalSize(attachments: MessageAttachment[]): boolean; /** * Converts a File to a MessageAttachment */ export declare function fileToAttachment(file: File): Promise; /** * Formats file size for display */ export declare function formatFileSize(bytes: number): string; //# sourceMappingURL=utils.d.ts.map