export declare enum ServerExitCode { Success = 0, Generic = 1, AlreadyRunning = 2, SocketDestroyed = 3, SigInt = 130, SigTerm = 143 } declare const sidepixServerError = "SidepixServerError"; export declare class ServerError extends Error { code: number | null; name: typeof sidepixServerError; constructor(code: number | null); } export declare function isServerError(x: unknown): x is ServerError; export declare function serverErrorMessage(error: number | null): string; export {};