import type { InstanceRecord } from '../../types/cli'; export declare const instanceFilePath: (pid: number) => string; export declare const instanceLogPath: (pid: number) => string; export declare const instanceRegistryDir: () => string; export declare const deregisterInstance: (pid: number) => void; /** Read every registered instance, pruning any whose process has died, and * return the survivors sorted by port then name. */ export declare const listLiveInstances: () => InstanceRecord[]; export declare const registerInstance: (record: InstanceRecord) => InstanceRecord; /** Read the project label without a config flag: package.json `name`, falling * back to the directory name. */ export declare const resolveProjectName: (cwd: string) => any; export declare const updateInstance: (pid: number, updates: Partial) => void;