15815213711
2024-08-26 67b8b6731811983447e053d4396b3708c14dfe3c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/// <reference types="node" />
export declare const compileCode: (javascriptCode: string, compress: boolean) => Buffer;
 
interface ElectronCompileOptions {
    electronPath?: string;
    compress?: boolean;
}
 
export declare const compileElectronCode: (javascriptCode: string, options?: ElectronCompileOptions) => Promise<Buffer>;
 
export declare const runBytecode: (bytecodeBuffer: Buffer) => any;
 
interface BytenodeOptions {
    filename: string;
    output?: string;
    compileAsModule?: boolean;
    compress?: boolean;
    electron?: boolean;
    electronPath?: string;
    createLoader?: boolean | string;
    loaderFilename?: string;
}
 
export declare const compileFile: (args: BytenodeOptions | string, output?: string | undefined) => Promise<string>;
 
export declare const runBytecodeFile: (filename: string) => any;
 
export declare function addLoaderFile(fileToLoad: string, loaderFilename?: string): void;
 
export declare function loaderCode(targetPath: string): string;
 
export { };