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