UNPKG

nitropack

Version:

Build and Deploy Universal JavaScript Servers

113 lines (112 loc) 5.42 kB
export default mixedProcess; export const abort: () => never; export const addListener: <E extends string | symbol>(eventName: string | symbol, listener: (...args: any[]) => void) => UnenvProcess; export const allowedNodeEnvironmentFlags: any; export const hasUncaughtExceptionCaptureCallback: () => boolean; export const setUncaughtExceptionCaptureCallback: () => void; export const loadEnvFile: () => void; export const sourceMapsEnabled: boolean; export const arch: NodeJS.Architecture; export const argv: string[]; export const argv0: string; export const chdir: (cwd: string) => void; export const config: NodeJS.ProcessConfig; export const connected: boolean; export const constrainedMemory: () => number; export const availableMemory: () => number; export const cpuUsage: () => NodeJS.CpuUsage; export const cwd: () => string; export const debugPort: number; export const dlopen: () => void; export const disconnect: () => void; export const emit: (...args: any[]) => any; export const emitWarning: (warning: unknown, type?: unknown, code?: unknown) => void; export const env: NodeJS.ProcessEnv; export const eventNames: () => (string | symbol)[]; export const execArgv: string[]; export const execPath: string; export const exit: () => never; export const finalization: { register<T extends object>(ref: T, callback: (ref: T, event: "exit") => void): void; registerBeforeExit<T extends object>(ref: T, callback: (ref: T, event: "beforeExit") => void): void; unregister(ref: object): void; }; export const features: NodeJS.ProcessFeatures; export const getBuiltinModule: () => any; export const getActiveResourcesInfo: () => string[]; export const getMaxListeners: () => number; export const hrtime: NodeJS.HRTime; export const kill: () => true; export const listeners: (eventName: string | symbol) => any; export const listenerCount: <E extends string | symbol>(eventName: string | symbol, listener?: ((...args: any[]) => void) | undefined) => number; export const memoryUsage: any; export const nextTick: (callback: Function, ...args: any[]) => void; export const on: <E extends string | symbol>(eventName: string | symbol, listener: (...args: any[]) => void) => UnenvProcess; export const off: <E extends string | symbol>(eventName: string | symbol, listener: (...args: any[]) => void) => UnenvProcess; export const once: <E extends string | symbol>(eventName: string | symbol, listener: (...args: any[]) => void) => UnenvProcess; export const pid: number; export const platform: NodeJS.Platform; export const ppid: number; export const prependListener: <E extends string | symbol>(eventName: string | symbol, listener: (...args: any[]) => void) => UnenvProcess; export const prependOnceListener: <E extends string | symbol>(eventName: string | symbol, listener: (...args: any[]) => void) => UnenvProcess; export const rawListeners: <E extends string | symbol>(eventName: string | symbol) => ((...args: any[]) => void)[]; export const release: NodeJS.ProcessRelease; export const removeAllListeners: <E extends string | symbol>(eventName?: string | symbol | undefined) => UnenvProcess; export const removeListener: <E extends string | symbol>(eventName: string | symbol, listener: (...args: any[]) => void) => UnenvProcess; export const report: NodeJS.ProcessReport; export const resourceUsage: () => NodeJS.ResourceUsage; export const setMaxListeners: (n: number) => UnenvProcess; export const setSourceMapsEnabled: () => void; export const stderr: any; export const stdin: any; export const stdout: any; export const title: string; export const umask: () => number; export const uptime: () => number; export const version: string; export const versions: NodeJS.ProcessVersions; export const domain: undefined; export const initgroups: () => void; export const moduleLoadList: unknown; export const reallyExit: () => never; export const openStdin: () => NodeJS.Socket; export const assert: () => any; export const binding: () => any; export const send: undefined; export const exitCode: undefined; export const channel: undefined; export const getegid: undefined; export const geteuid: undefined; export const getgid: undefined; export const getgroups: undefined; export const getuid: undefined; export const setegid: undefined; export const seteuid: undefined; export const setgid: undefined; export const setgroups: undefined; export const setuid: undefined; export const permission: NodeJS.ProcessPermission; export const mainModule: NodeJS.Module | undefined; export const _events: undefined; export const _eventsCount: undefined; export const _exiting: undefined; export const _maxListeners: undefined; export const _debugEnd: undefined; export const _debugProcess: undefined; export const _fatalException: undefined; export const _getActiveHandles: undefined; export const _getActiveRequests: undefined; export const _kill: undefined; export const _preload_modules: undefined; export const _rawDebug: undefined; export const _startProfilerIdleNotifier: undefined; export const _stopProfilerIdleNotifier: undefined; export const _tickCallback: undefined; export const _disconnect: undefined; export const _handleQueue: undefined; export const _pendingMessage: undefined; export const _channel: undefined; export const _send: undefined; export const _linkedBinding: undefined; declare const mixedProcess: UnenvProcess; import { Process as UnenvProcess } from "unenv/node/internal/process/process";