import type { CamoucliPaths } from '../state/paths.js'; export interface DaemonArtifactState { pid?: number | undefined; pidAlive: boolean; removedPidFile: boolean; removedSocket: boolean; } export declare function readDaemonPid(paths: CamoucliPaths): Promise; export declare function isProcessAlive(pid: number): boolean; export declare function cleanupStaleDaemonArtifacts(paths: CamoucliPaths): Promise; export declare function removeDaemonArtifacts(paths: CamoucliPaths): Promise; export declare function stopDaemonProcess(pid: number, timeoutMs?: number): Promise;