import { type ReadFileSystem, type ProgressCallback, type ReadSource } from './file-system';
/**
 * ReadFileSystem for reading from URLs using fetch.
 * Supports optional base URL for relative paths.
 *
 * Automatically detects whether the server supports Range requests.
 * If Range requests are supported, uses streaming with Range headers for efficient seeking.
 * If not supported (e.g., Python's SimpleHTTPRequestHandler), falls back to downloading
 * the entire file into memory first.
 */
declare class UrlReadFileSystem implements ReadFileSystem {
    private baseUrl;
    /**
     * @param baseUrl - Optional base URL to prepend to filenames
     */
    constructor(baseUrl?: string);
    createSource(filename: string, progress?: ProgressCallback): Promise<ReadSource>;
    /**
     * Download the entire file and create a memory-based source.
     * Used as fallback when server doesn't support Range requests.
     * @param url - The URL to download
     * @param progress - Optional callback for progress reporting
     * @returns Promise resolving to a memory-based ReadSource
     */
    private createMemorySource;
}
export { UrlReadFileSystem };
