/** * Orchestrator configuration loader and client factory. * * - `loadOrchestratorConfig()` reads orchestrator config from `.aidlc/config.yaml`. * - `createClient()` creates an EndpointClient from an OrchestratorConfig. * - `createClientFromFlags()` creates an EndpointClient from CLI flag values. * * Key constraint (Req 19.12): The orchestrator is strictly optional. All other * AIDLC operations must work without any orchestrator config present. * * Requirements: 19.1, 19.3, 19.12 */ import type { ApiFormat, EndpointClient, OrchestratorConfig } from '../core/types.js'; /** * Load the orchestrator section from a project config file. * * Returns `null` if: * - The config file does not exist * - The file is unreadable or invalid YAML * - The `orchestrator` section is absent * * This ensures orchestrator remains optional (Req 19.12). * * @param configPath - Absolute path to the `.aidlc/config.yaml` file. */ export declare function loadOrchestratorConfig(configPath: string): OrchestratorConfig | null; /** * Create an EndpointClient from an OrchestratorConfig. * * Selects the appropriate client implementation based on `config.api_format`. */ export declare function createClient(config: OrchestratorConfig): EndpointClient; /** * Create an EndpointClient from CLI flags (--endpoint, --model, --api-format). * * CLI flags override config values per Req 19.3. */ export declare function createClientFromFlags(opts: { endpoint: string; model: string; apiFormat: ApiFormat; }): EndpointClient; //# sourceMappingURL=config.d.ts.map