/** * StartupSequencer — Manages ordered output during Beam startup. * * Replaces the ad-hoc output buffering (outputQueue, suppressOutput, * console monkey-patching) in startBeam() with a clean state machine. * * States: buffering → url_shown → ready * * During 'buffering', all console output is queued. * At 'url_shown' (TTY only), a status line is shown on stderr. * At 'ready', queued output is flushed and console is restored. */ export declare class StartupSequencer { private state; private queue; private url; private originalLog; private originalWarn; private originalError; private originalStderrWrite; private isTTY; private version; private workingDir; constructor(version: string, workingDir: string); /** Replace console methods to queue output during startup. */ private intercept; /** Show the URL status line (called when server starts listening). */ showUrl(url: string): void; /** * Mark startup as complete — flush queued output and restore console. * Call this after all photons are loaded. */ ready(): void; /** Restore original console methods. */ private restore; /** Flush all queued messages to stderr. */ private flush; /** Format the status line. */ private formatStatus; } //# sourceMappingURL=startup.d.ts.map