import type { ChildProcess } from 'node:child_process';
declare const _default: {
    emit: (event: string, data?: Record<string, unknown>) => void;
    on: <T extends Record<string, unknown>>(event: string, handler: (msg: T & {
        event: string;
    }) => void, proc?: ChildProcess | NodeJS.Process) => void;
};
export default _default;
