import React from 'react';
import { type ToolPermission } from '../contexts/McpContext';
import type { PromptDefinition, PromptInstance, RpcNotificationRecord, ServerCapabilities, ServerInfo, UseMcpReturn } from 'react-mcp-hook';
type Tool = UseMcpReturn['tools'][number];
export interface PromptRunResult {
    prompt?: PromptInstance;
    error?: Error | string;
}
export interface ServerDashboardViewProps {
    options: any;
    tools: Tool[];
    serverEnabled: boolean;
    onToggleServer: (enabled: boolean) => void;
    onEdit: () => void;
    onRefresh: () => void;
    onDelete: () => void;
    onViewTool: (tool: Tool | null) => void;
    getToolPermission: (toolName: string) => ToolPermission;
    onChangeToolPermission: (toolName: string, permission: ToolPermission) => void;
    headers: Record<string, string>;
    autoFetchEnabled: boolean;
    showTools?: boolean;
    showStats?: boolean;
    showPrompts?: boolean;
    inlineToolView?: boolean;
    serverInfo?: ServerInfo;
    protocolVersion?: string;
    capabilities?: ServerCapabilities;
    lastEvent?: RpcNotificationRecord;
    isLoadingTools: boolean;
    prompts: PromptDefinition[];
    promptsError: string | null;
    isLoadingPrompts: boolean;
    onRefreshPrompts: () => void;
    onRunPrompt?: (promptName: string, args: Record<string, unknown>) => Promise<PromptRunResult>;
    supportsPromptExecution: boolean;
}
declare const ServerDashboardView: React.FC<ServerDashboardViewProps>;
export default ServerDashboardView;
//# sourceMappingURL=ServerDashboardView.d.ts.map