import type { EditorConfig } from './types'; /** * Read and validate the editor bridge lockfile. * Returns the config if valid, or an object with an error string. */ export declare function read_editor_config(project_path: string): EditorConfig | { error: string; }; /** * Resolve a usable bridge config. * Prefers the lockfile when valid, otherwise discovers a matching bridge by project identity. * Manual port selection remains an explicit escape hatch rather than the default fallback. */ export declare function discover_editor_config(project_path: string, timeout_ms?: number): Promise; /** * A pid worth waiting on during a domain reload, from any source readable * without the Editor's cooperation. * * The lockfile is Unity-owned; the last-known cache is CLI-owned and outlives * it. Consulting both means an unreadable lockfile alone no longer decides * whether waiting out a reload is worthwhile. Returns 0 when no source knows. */ export declare function read_candidate_editor_pid(project_path: string): number; export declare function is_pid_alive(pid: number): boolean; //# sourceMappingURL=editor-discovery.d.ts.map