import type { DevServerEndpoint } from "@antelopejs/interface-core/runtime"; import type { IFileSystem } from "../../types"; import type { ShutdownManager } from "../shutdown"; export type PidProbe = (pid: number) => boolean; export declare function isProcessAlive(pid: number): boolean; export interface DevRegistryStoreOptions { projectPath: string; fs: IFileSystem; pid: number; startedAt: Date; isPidAlive?: PidProbe; } export declare class DevRegistryStore { private options; private servers; private hasRegisteredServers; private pendingWrite; constructor(options: DevRegistryStoreOptions); get registryFilePath(): string; removeOrphanRegistry(): Promise; register(name: string, endpoints: DevServerEndpoint[]): Promise; cleanup(): Promise; private isOwnerAlive; private readRegistry; private buildRegistry; private writeRegistry; private performWrite; } export interface RuntimeInterfaceOptions { dev: boolean; projectPath: string; env: string; fs: IFileSystem; shutdownManager?: ShutdownManager; isPidAlive?: PidProbe; } export declare function registerCoreRuntimeInterface(options: RuntimeInterfaceOptions): Promise;