/** Process/port discovery for `absolute ps`, used to surface running servers * the file-based instance registry can miss — orphans whose controller died, * hand-run `bun dist/server.js` builds, anything that never registered. * * Shells out via Bun's `$` to the platform's socket lister (lsof, falling * back to ss on Linux) rather than trusting a registry file, so a live * listener is discoverable for as long as its process is alive. */ export type PortListener = { command: string; etimes: number; pid: number; port: number; }; /** Listening TCP servers on the machine, each annotated with the owning * process's full command and uptime. Skips this process and any listener * whose owner we can't describe. */ export declare const scanListeners: () => Promise<{ command: string; etimes: number; pid: number; port: number; }[]>;