blob: 82c15701d5b1148649ab0c6e2fa570d12f5ceec0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/// <reference types="node" />
import { Stats } from 'fs';
export interface NexeBinary {
blobPath: string;
resources: {
[key: string]: number[];
};
layout: {
stat: Stats;
resourceStart: number;
contentSize?: number;
contentStart?: number;
resourceSize?: number;
};
}
declare function shimFs(binary: NexeBinary, fs?: any): true | undefined;
declare function restoreFs(): void;
export { shimFs, restoreFs };
|