import type { McpServerConfig } from '../mcp/config.js';
import type { ShellPathService } from '../runtime/shell-paths.js';
export interface McpDiscoveryResult {
    /** Suggested server configs not currently registered */
    suggestions: McpServerConfig[];
    /** Number of locations scanned */
    locationsScanned: number;
}
export type McpDiscoveryRoots = Pick<ShellPathService, 'workingDirectory' | 'homeDirectory'> & {
    readonly surfaceRoot: string;
};
/**
 * Scan all common MCP server locations and return suggestions for
 * servers not already registered in the given set of known server names.
 *
 * @param roots - Explicit working/home roots for project and user MCP discovery
 * @param registeredNames - Set of already-registered server names to skip
 */
export declare function scanMcpServers(roots: McpDiscoveryRoots, registeredNames?: Set<string>): Promise<McpDiscoveryResult>;
//# sourceMappingURL=mcp-scanner.d.ts.map