import type { TProcessSignal } from './smartexit.types.js'; export interface IProcessTreeSignalResult { status: 'signalled' | 'notFound' | 'failed'; error?: unknown; } export interface IProcessGroupProbeResult { status: 'exists' | 'notFound' | 'failed'; error?: unknown; } /** * Signal one owned process tree synchronously so shutdown and the final exit * safety net use the same OS contract. */ export declare const signalProcessTreeByPid: (pidArg: number, signalArg: TProcessSignal) => IProcessTreeSignalResult; /** Probe the exact POSIX process group owned by a detached group leader. */ export declare const probeProcessGroupByPid: (pidArg: number) => IProcessGroupProbeResult;