export interface InstanceMarker { path: string; version: string | null; pid: number; ts: number; } /** Returns the conflicting instance's marker when a dual load is detected. */ export declare function detectDualInstance(selfPath: string, now?: number): InstanceMarker | undefined; export declare function stampInstance(selfPath: string, version: string | null, pid?: number, now?: number): void; /** Stamp ourselves; report a conflicting live marker if one exists. Stamp * order matters: the OTHER instance's stamp may be from this same process * (both loaded), so we overwrite only after reading the conflict. */ export declare function stampAndDetect(selfPath: string, version: string | null, now?: number): InstanceMarker | undefined;