/** * Loads the contents of a specified file. * * @param file - The file object to load contents from. * @param encoding - The encoding to use while reading the file. Default is UTF-8. * * @returns - A Promise that resolves with the contents of the file as a string. * - If the file is empty, the Promise will be rejected with an error. */ export declare function loadFileContents(file: File, encoding?: string): Promise;