/**
 * Exits after draining stdout/stderr. When Node.js writes to a pipe it does so
 * asynchronously; calling process.exit() directly can truncate pending output.
 * Falls back to a forced exit after 1 min in case a drain callback never fires.
 */
export declare function exitSafe(code?: number): void;
