export type RuntimeStartupMode = "foreground" | "native-service" | "installer-detached"; export interface RuntimeOwnershipRecord { version: 1; pid: number | null; host: string; port: number; startupMode: RuntimeStartupMode; entrypointPath: string; coppermindVersion: string; startedAt: string; lastHealthTransitionAt: string; lastRepairAction: string | null; lastRepairAt: string | null; } export interface RuntimeOwnershipSnapshot { path: string; present: boolean; record: RuntimeOwnershipRecord | null; stale: boolean; error: string | null; } export declare function readRuntimeOwnership(ownershipPath: string): RuntimeOwnershipSnapshot; export declare function writeRuntimeOwnership(ownershipPath: string, record: RuntimeOwnershipRecord): void; export declare function updateRuntimeOwnership(ownershipPath: string, update: (current: RuntimeOwnershipRecord | null) => RuntimeOwnershipRecord | null): RuntimeOwnershipSnapshot; export declare function clearRuntimeOwnership(ownershipPath: string): boolean; export declare function markRuntimeOwnershipStopped(ownershipPath: string): RuntimeOwnershipSnapshot; //# sourceMappingURL=runtime-ownership.d.ts.map