/**
 * File reading utilities for taglib-wasm
 * Provides cross-runtime support for reading files from various sources
 */
/**
 * Read a file's data from various sources.
 * Supports file paths (Node.js/Deno/Bun), buffers, and File objects (browser).
 *
 * @param file - File path, Uint8Array, ArrayBuffer, or File object
 * @returns Promise resolving to Uint8Array of file data
 * @throws {FileOperationError} If file read fails
 * @throws {EnvironmentError} If environment doesn't support file paths
 */
export declare function readFileData(file: string | Uint8Array | ArrayBuffer | File): Promise<Uint8Array>;
/**
 * Get the size of a file without reading its contents.
 *
 * @param path - File path
 * @returns Promise resolving to file size in bytes
 * @throws {FileOperationError} If file stat fails
 * @throws {EnvironmentError} If environment doesn't support file paths
 */
export declare function getFileSize(path: string): Promise<number>;
/**
 * Read partial file data (header and footer sections).
 *
 * @param path - File path
 * @param headerSize - Size of header section to read
 * @param footerSize - Size of footer section to read
 * @returns Promise resolving to combined header and footer data
 * @throws {FileOperationError} If file read fails
 * @throws {EnvironmentError} If environment doesn't support file paths
 */
export declare function readPartialFileData(path: string, headerSize: number, footerSize: number): Promise<Uint8Array>;
//# sourceMappingURL=file.d.ts.map