/** * @file Process-method interceptors — `processEmit` replaces `process.emit` and * `processReallyExit` replaces `process.reallyExit` while `load()` is active. * Both forward to the originals captured in `shared` and broadcast `exit` * / `afterexit` through the signal-exit emitter. */ export declare function processEmit(this: NodeJS.Process, eventName: string, exitCode?: number | undefined, ...args: unknown[]): boolean; export declare function processReallyExit(code?: number | undefined): never;