/** * Custom Adapter * Handles MCP configuration for user-specified config paths */ import { BaseAdapter, ConfigureOptions, ConfigResult, InstallInfo } from './base.js'; import { MCPConfig, ContinueConfig } from '../utils/config.js'; export interface CustomAdapterOptions { configPath: string; displayName?: string; useContinueFormat?: boolean; } export declare class CustomAdapter extends BaseAdapter { name: 'custom'; displayName: string; private customConfigPath; private useContinueFormat; constructor(options: CustomAdapterOptions); /** * Override getConfigPath to use custom path */ getConfigPath(): string; /** * No app paths for custom adapter */ protected getAppPaths(): string[]; /** * Custom adapter is "installed" if the path is valid */ isInstalled(): Promise; /** * Get installation info */ getInstallInfo(): Promise; /** * Configure with auto-detection of format */ configure(options?: ConfigureOptions): Promise; /** * Override removeFromConfig with format auto-detection */ protected removeFromConfig(config: MCPConfig | ContinueConfig, serverName: string): MCPConfig | ContinueConfig; } /** * Create a custom adapter for a specific path */ export declare function createCustomAdapter(configPath: string, displayName?: string, useContinueFormat?: boolean): CustomAdapter; //# sourceMappingURL=custom.d.ts.map