import { type MCPServerInfo } from '../stores/mcpStore'; interface MCPServersResponse { servers: MCPServerInfo[]; } export declare function useMCPServers(): import("@tanstack/react-query").UseQueryResult; export declare function useStartMCPServer(): import("@tanstack/react-query").UseMutationResult<{ callbackProxyStarted: boolean; callbackProxyOpened: boolean; ok: boolean; error?: string; connected?: boolean; authRequired?: boolean; authUrl?: string; authType?: string; authenticated?: boolean; flowId?: string; callbackUrl?: string; sessionId?: string; userCode?: string; verificationUri?: string; interval?: number; }, Error, string, { previous: boolean; }>; export declare function useStopMCPServer(): import("@tanstack/react-query").UseMutationResult<{ ok: boolean; error?: string; }, Error, string, { previous: boolean; }>; export interface AddMCPServerParams { name: string; transport?: 'stdio' | 'http' | 'sse'; command?: string; args?: string[]; env?: Record; url?: string; headers?: Record; oauth?: Record; scope?: 'global' | 'project'; } export declare function useAddMCPServer(): import("@tanstack/react-query").UseMutationResult<{ ok: boolean; error?: string; }, Error, AddMCPServerParams, unknown>; export declare function useRemoveMCPServer(): import("@tanstack/react-query").UseMutationResult<{ ok: boolean; error?: string; }, Error, string, unknown>; export declare function useAuthenticateMCPServer(): import("@tanstack/react-query").UseMutationResult<{ callbackProxyStarted: boolean; callbackProxyOpened: boolean; ok: boolean; authUrl?: string; authType?: string; sessionId?: string; userCode?: string; verificationUri?: string; interval?: number; authenticated?: boolean; flowId?: string; callbackUrl?: string; name: string; error?: string; }, Error, string, unknown>; export declare function useRevokeMCPAuth(): import("@tanstack/react-query").UseMutationResult<{ ok: boolean; error?: string; }, Error, string, unknown>; export declare function useMCPAuthStatus(name: string | null): import("@tanstack/react-query").UseQueryResult<{ authenticated: boolean; expiresAt?: number; }, Error>; export declare function useCopilotDevicePoller(): import("..").CopilotDeviceInfo; export {}; //# sourceMappingURL=useMCP.d.ts.map