1 | /// <reference types="node" />
|
2 | import { File } from './types';
|
3 | interface FileRefOptions {
|
4 | mode?: number;
|
5 | digest: string;
|
6 | contentType?: string;
|
7 | mutable?: boolean;
|
8 | }
|
9 | export default class FileRef implements File {
|
10 | type: 'FileRef';
|
11 | mode: number;
|
12 | digest: string;
|
13 | contentType: string | undefined;
|
14 | private mutable;
|
15 | constructor({ mode, digest, contentType, mutable, }: FileRefOptions);
|
16 | toStreamAsync(): Promise<NodeJS.ReadableStream>;
|
17 | toStream(): NodeJS.ReadableStream;
|
18 | }
|
19 | export {};
|