import type { IMcpClient, OutputMode, ServerConfig } from '../lib/types.js';
export declare function resolveAuthProfile(serverUrl: string, target: string, specifiedProfile?: string, context?: {
    sessionName?: string;
}): Promise<string | undefined>;
export declare function resolveTarget(target: string, options?: {
    config?: string;
    headers?: string[];
    timeout?: number;
    verbose?: boolean;
    profile?: string;
}): Promise<ServerConfig>;
export interface McpClientContext {
    sessionName?: string | undefined;
    profileName?: string | undefined;
    serverConfig?: ServerConfig | undefined;
}
export declare function withMcpClient<T>(target: string, options: {
    outputMode?: OutputMode;
    config?: string;
    headers?: string[];
    timeout?: number;
    verbose?: boolean;
    hideTarget?: boolean;
    profile?: string;
}, callback: (client: IMcpClient, context: McpClientContext) => Promise<T>): Promise<T>;
//# sourceMappingURL=helpers.d.ts.map