/// import { File } from './types'; interface FileFsRefOptions { mode?: number; contentType?: string; fsPath: string; } interface FromStreamOptions { mode: number; contentType?: string; stream: NodeJS.ReadableStream; fsPath: string; } declare class FileFsRef implements File { type: 'FileFsRef'; mode: number; fsPath: string; contentType: string | undefined; constructor({ mode, contentType, fsPath }: FileFsRefOptions); static fromFsPath({ mode, contentType, fsPath, }: FileFsRefOptions): Promise; static fromStream({ mode, contentType, stream, fsPath, }: FromStreamOptions): Promise; toStreamAsync(): Promise; toStream(): NodeJS.ReadableStream; } export = FileFsRef;