/** * The main entrypoint when using Bun as the runtime */ export * from './terminal_io.ts'; export const onExit = (cb: () => void): void => { process.on('beforeExit', cb); };