interface EventEmitterInternals { _events: Record>; } declare const _process: EventEmitterInternals; declare let originalOnWarning: Function | undefined; declare const messageMatch: RegExp; declare function onWarning(this: any, warning: Error, ...rest: any[]): any;