import { RemoteFile } from 'generic-filehandle2';
export interface BinaryRangeResponse {
    headers: Record<string, string>;
    requestDate: Date;
    responseDate: Date;
    buffer: Uint8Array;
}
export declare function clearCache(): void;
export declare class RemoteFileWithRangeCache extends RemoteFile {
    fetch(url: string | RequestInfo, init?: RequestInit): Promise<Response>;
    fetchBinaryRange(url: string, start: number, end: number, options?: {
        headers?: HeadersInit;
        stopToken?: string;
    }): Promise<BinaryRangeResponse>;
}
