• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1declare function InternalBinding(binding: 'options'): {
2  getOptions(): {
3    options: Map<
4      string,
5      {
6        helpText: string;
7        envVarSettings: 0 | 1;
8      } & (
9        | { type: 0 | 1; value: undefined }
10        | { type: 2; value: boolean }
11        | { type: 3 | 4; value: number }
12        | { type: 5; value: string }
13        | { type: 6; value: { host: string; port: number } }
14        | { type: 7; value: string[] }
15      )
16    >;
17    aliases: Map<string, string[]>;
18  };
19  envSettings: {
20    kAllowedInEnvironment: 0;
21    kDisallowedInEnvironment: 1;
22  };
23  noGlobalSearchPaths: boolean;
24  shouldNotRegisterESMLoader: boolean;
25  types: {
26    kNoOp: 0;
27    kV8Option: 1;
28    kBoolean: 2;
29    kInteger: 3;
30    kUInteger: 4;
31    kString: 5;
32    kHostPort: 6;
33    kStringList: 7;
34  };
35};
36