import { type CanonicalAgentName } from '../agent-detection.js'; import { type ProjectConfigFile } from './agent-mcp-config.js'; export declare const NETLIFY_MCP_URL = "https://mcp.netlify.com/mcp"; export declare const NETLIFY_MCP_SERVER_NAME = "netlify"; export declare const MCP_SCOPES: readonly ['project', 'user']; export type McpScope = (typeof MCP_SCOPES)[number]; type LookupKind = 'list' | 'list-json'; interface NativeCommands { add: string[]; remove?: string[]; savedIn?: string; } interface NativeSetup { lookup?: LookupKind; scopes: Partial>; } export interface McpAgent { id: string; label: string; binary?: string; drivenBy?: CanonicalAgentName[]; projectMarkers?: string[]; projectFile?: ProjectConfigFile; inTerminal?: (env: NodeJS.ProcessEnv) => boolean; native?: NativeSetup; } export declare const MCP_AGENTS: McpAgent[]; export type AgentMcpStatus = 'added' | 'present' | 'kept' | 'printed' | 'unsupported' | 'declined' | 'failed'; export type AgentSelection = 'driving' | 'prompt' | 'saved' | 'none'; export interface AgentMcpSetupSummary { scope: McpScope; selection: AgentSelection; agents: Record; failed?: boolean; } export interface AgentCandidate { agent: McpAgent; detected: boolean; } export type ChooseAgents = (candidates: AgentCandidate[]) => Promise; export declare const findCandidates: (workingDir: string, env: NodeJS.ProcessEnv, scope?: McpScope) => Promise; export interface McpChoiceStore { get(key: string): unknown; set(key: string, value: unknown): void; delete(key: string): void; } export declare const setupAgentMcp: ({ workingDir, store, scope, env, interactive, choose, reset, }: { workingDir: string; store: McpChoiceStore; scope?: McpScope; env?: NodeJS.ProcessEnv; interactive?: boolean; choose?: ChooseAgents; reset?: boolean; }) => Promise; export {}; //# sourceMappingURL=agent-mcp.d.ts.map