import { DocometInspectableObjectClass } from '../docomet-inspectable.js'; import type { DocometLogging } from '../docomet-types.js'; import type { Readable } from 'node:stream'; /** * Process * @see {@link DocometColor} * @see {@link DocometError} * @see {@link DocometStream} */ export declare class DocometProcess extends DocometInspectableObjectClass { #private; /** * Logging */ static logging: DocometLogging; /** * Sets up error handlers for process */ static setupErrorHandlers(): void; /** * Exits process * @param code Exit code * @param message Message */ static exit(code: number, message?: string): void; /** * Aborts process * @param message Message */ static abort(message: string): void; /** * Standard input stream * @param isTTY Whether to get stream only if it is TTY * @returns Standard input stream, or `undefined` if not available */ static getStdin(isTTY?: boolean): Readable | undefined; }