UNPKG

impress

Version:

Enterprise application server for Node.js

104 lines (95 loc) 3.2 kB
import { LogConfig, ScaleConfig, ServerConfig, SessionsConfig } from './config'; import { Application, Context, Client } from './core'; import * as _util from 'node:util'; import * as _buffer from 'node:buffer'; import * as _cp from 'node:child_process'; import * as _os from 'node:os'; import * as _v8 from 'node:v8'; import * as _vm from 'node:vm'; import * as _path from 'node:path'; import * as _url from 'node:url'; import * as _sd from 'node:string_decoder'; import * as _qs from 'node:querystring'; import * as _querystring from 'node:querystring'; import * as _assert from 'node:assert'; import * as _stream from 'node:stream'; import * as _fs from 'node:fs'; import * as _crypto from 'node:crypto'; import * as _zlib from 'node:zlib'; import * as _readline from 'node:readline'; import * as _ph from 'node:perf_hooks'; import * as _ah from 'node:async_hooks'; import * as _timers from 'node:timers'; import * as _events from 'node:events'; import * as _dns from 'node:dns'; import * as _net from 'node:net'; import * as _tls from 'node:tls'; import * as _http from 'node:http'; import * as _https from 'node:https'; import * as _http2 from 'node:http2'; import * as _dgram from 'node:dgram'; import * as _ws from 'ws'; import * as _config from 'metaconfiguration'; import * as _metautil from 'metautil'; import * as _metavm from 'metavm'; import * as _metacom from 'metacom'; import * as _metalog from 'metalog'; import * as _metawatch from 'metawatch'; import * as _metaschema from 'metaschema'; import * as _metaconfiguration from 'metaconfiguration'; declare global { const application: Application; const context: Context; namespace config { const log: LogConfig; const scale: ScaleConfig; const server: ServerConfig; const sessions: SessionsConfig; } namespace metarhia { const config: typeof _config; const metautil: typeof _metautil; const metavm: typeof _metavm; const metacom: typeof _metacom; const metalog: typeof _metalog; const metawatch: typeof _metawatch; const metaschema: typeof _metaschema; const metaconfiguration: typeof _metaconfiguration; } namespace node { const util: typeof _util; const buffer: typeof _buffer; const child_process: typeof _cp; const childProcess: typeof _cp; const os: typeof _os; const v8: typeof _v8; const vm: typeof _vm; const path: typeof _path; const url: typeof _url; const StringDecoder: typeof _sd; const querystring: typeof _qs; const assert: typeof _assert; const stream: typeof _stream; const fs: typeof _fs; const fsp: typeof _fs.promises; const crypto: typeof _crypto; const zlib: typeof _zlib; const readline: typeof _readline; const perf_hooks: typeof _ph; const perfHooks: typeof _ph; const async_hooks: typeof _ah; const asyncHooks: typeof _ah; const timers: typeof _timers; const events: typeof _events; const dns: typeof _dns; const net: typeof _net; const tls: typeof _tls; const http: typeof _http; const https: typeof _https; const http2: typeof _http2; const dgram: typeof _dgram; } namespace npm { const ws: typeof _ws; } }