import type { ChildProcess } from 'node:child_process'; /** * LSP Server definition and spawning logic */ export interface LSPServerInfo { id: string; name: string; languageIds: string[]; root: (cwd: string) => string | null; spawn: (root: string) => ChildProcess | Promise<{ process: ChildProcess; initialization?: any; } | undefined>; } /** * Find the nearest project root directory */ export declare function findNearestRoot(cwd: string, markers: string[]): string | null; /** * Built-in LSP server definitions */ export declare const BUILTIN_SERVERS: Record; /** * Get all servers that can handle a file */ export declare function getServersForFile(filePath: string, cwd: string): LSPServerInfo[]; //# sourceMappingURL=server.d.ts.map