import type { ServerLog } from "./types.js";
export type FatalErrorWriter = (message: string) => void;
export declare function writeServerFatalError(write: FatalErrorWriter, pendingMessages: readonly ServerLog[], error: unknown): void;
export declare function formatFatalError(error: unknown): string;
//# sourceMappingURL=fatal-error.d.ts.map