/** * Config subcommand handlers for limps CLI. * Provides commands to view and update project configuration. */ import { type ScoringPreset, type ScoringWeights, type ScoringBiases } from '../config.js'; /** * Configuration data for JSON output. */ export interface ConfigData { configPath: string; config: { plansPath: string; dataPath: string; docsPaths?: string[]; fileExtensions?: string[]; }; } /** * Get configuration data for JSON output. * * @param resolveConfigPathFn - Function to resolve config path (injected to avoid circular deps) * @returns Configuration data object * @throws Error if config file not found */ export declare function getConfigData(resolveConfigPathFn: () => string): ConfigData; /** * Show the resolved configuration values. * * @param resolveConfigPathFn - Function to resolve config path (injected to avoid circular deps) * @returns Formatted configuration */ export declare function configShow(resolveConfigPathFn: () => string): string; /** * Upgrade config schema to the latest version. * * @param resolveConfigPathFn - Function to resolve config path * @returns Formatted upgrade summary */ export declare function configUpgrade(resolveConfigPathFn: () => string): string; export interface ScoringConfigUpdateOptions { preset?: ScoringPreset; weights?: Partial; biases?: Partial; } export declare function configScoringShow(resolveConfigPathFn: () => string): string; export declare function configScoringUpdate(resolveConfigPathFn: () => string, options: ScoringConfigUpdateOptions): string; /** * Print the resolved config file path. * * @param resolveConfigPathFn - Function to resolve config path (injected to avoid circular deps) * @returns The config path */ export declare function configPath(resolveConfigPathFn: () => string): string; /** * Reset limps state for a single project: stop daemon, delete dataPath contents. * * @param configPath - Path to the project's config.json * @param options - Reset options (force must be true to proceed) * @returns Log of actions taken */ export declare function resetAll(configPath: string, options?: { force?: boolean; }): string[]; import { type McpClientAdapter, type McpServerConfig } from './mcp-client-adapter.js'; /** * Generate MCP server configuration JSON for a single limps project. * Generates stdio or HTTP transport configuration depending on client support. * * @param adapter - MCP client adapter * @param configPath - Path to the limps config file * @returns Object with servers key and the servers configuration * @throws Error if config not found */ export declare function generateMcpClientConfig(adapter: McpClientAdapter, configPath: string): { serversKey: string; servers: Record; fullConfig: Record; }; /** * Generate config for printing. * Generates stdio or HTTP transport configuration depending on client support. */ export declare function generateConfigForPrint(adapter: McpClientAdapter, configPath: string): string; /** * Generate ChatGPT MCP connector setup instructions. */ export declare function generateChatGptInstructions(configPath: string): string; /** * Update options for configUpdate. */ export interface ConfigUpdateOptions { plansPath?: string; docsPath?: string; } /** * Update an existing project's configuration. * * @param configPath - Path to the config file to update * @param options - Fields to update * @returns Success message * @throws Error if config file doesn't exist */ export declare function configUpdate(configPath: string, options: ConfigUpdateOptions): string; //# sourceMappingURL=config-cmd.d.ts.map