import { RemoteFileWithRangeCache } from '@jbrowse/core/util/io';
import type { FilehandleOptions, Stats } from 'generic-filehandle2';
export interface RequestInitWithMetadata extends RequestInit {
    metadataOnly?: boolean;
}
interface GoogleDriveFilehandleOptions extends FilehandleOptions {
    fetch(input: RequestInfo, opts?: RequestInitWithMetadata): Promise<Response>;
}
export declare class GoogleDriveFile extends RemoteFileWithRangeCache {
    private statsPromise;
    constructor(source: string, opts: GoogleDriveFilehandleOptions);
    fetch(input: RequestInfo, opts?: RequestInitWithMetadata): Promise<Response>;
    stat(): Promise<Stats>;
}
export {};
