UNPKG

@jbrowse/plugin-authentication

Version:

JBrowse 2 Authentication

16 lines (15 loc) 669 B
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 {};