/**
 * On-demand connector tools
 *
 * Instead of registering hundreds of individual MCP connector tools with the
 * agent (which bloats every API call), this module provides two lightweight
 * proxy tools:
 *
 *   connector_list  — discover available connectors and their tools
 *   connector_call  — route a call to a specific connector tool
 *
 * The actual MCP tool wrappers are stored in a registry built from
 * ConnectorManager.buildTools() output.
 */
export interface ConnectorToolEntry {
    /** Namespaced name: "pipedrive__deals_search" */
    name: string;
    /** Local name within the connector: "deals_search" */
    localName: string;
    /** Connector name: "pipedrive" */
    connector: string;
    description: string;
    parameters: any;
    execute: (toolCallId: string, params: any) => Promise<any>;
}
export interface ConnectorRegistry {
    connectors: Map<string, ConnectorToolEntry[]>;
}
/**
 * Build a registry from ConnectorManager's wrapped tool objects.
 * Parses the namespaced tool names (e.g. "pipedrive__deals_search")
 * into connector → tool[] groupings.
 */
export declare function buildConnectorRegistry(tools: any[]): ConnectorRegistry;
/**
 * Create two proxy tools for on-demand connector access.
 */
export declare function createConnectorTools(registry: ConnectorRegistry): any[];
