/**
 * Write the current process PID to the PID file.
 */
export declare function writePidFile(): Promise<void>;
/**
 * Read the PID from the PID file.
 * Returns null if the file does not exist or cannot be read.
 */
export declare function readPidFile(): Promise<number | null>;
/**
 * Remove the PID file.
 */
export declare function removePidFile(): Promise<void>;
/**
 * Check if a process with the given PID is currently running.
 */
export declare function isProcessRunning(pid: number): boolean;
/**
 * Check if an existing daemon is already running.
 * Reads the PID file and checks if that process is alive.
 */
export declare function checkExistingDaemon(): Promise<boolean>;
//# sourceMappingURL=pid.d.ts.map