/**
 * Copyright (C) 2024 PoAI (Lutz Leonhardt)
 * This file is part of mcpm, based on work by MCP Club
 * Licensed under the GNU AGPL v3.0
 * See LICENSE file for details
 */
import type { MCPServerWithStatus } from '@mcpm/sdk';
import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';
/**
 * Replace placeholders in an argument using the provided arguments object.
 */
export declare function replacePlaceholders(arg: string, argumentsObj: Record<string, string>): string;
/**
 * Provides fallback arguments from the server configuration.
 */
export declare function getArgumentsWithFallback(server: MCPServerWithStatus): Record<string, string>;
/**
 * Builds and returns a configured StdioClientTransport instance for the given MCPServerWithStatus.
 */
export declare function buildTransportForServer(server: MCPServerWithStatus): StdioClientTransport;
