export declare const DOKKIMI_DIR: string; export declare const DAEMON_JSON: string; export declare const DAEMON_LOCK: string; export declare const LOGS_DIR: string; export interface DaemonState { startedAt: string; shuttingDown?: boolean; pid?: number; services?: Record; } export declare function readDaemonState(): DaemonState | null; export declare function writeDaemonState(state: DaemonState): void; export declare function deleteDaemonState(): void; export declare function getControlTowerPid(state: DaemonState | null): number | null; export declare function acquireLock(timeoutMs: number, signal?: AbortSignal): Promise<() => void>;