import type { CogitatorConfig } from '@cogitator-ai/types'; import { type ProjectConfigKind } from './project-config.js'; export declare function findConfig(explicitPath?: string, env?: Record, cwd?: string): string | null; export interface RunConfig { config: CogitatorConfig; /** What the config file configures, undefined without one */ kind?: ProjectConfigKind; /** `provider/model` of an assistant config, which has no `llm.defaultModel` */ model?: string; } /** * The runtime config `cogitator run` uses. The `.env` next to the config file * (or in `cwd` without one) is loaded first, without overriding variables * already set, so API keys reach the env loader. An assistant config from * `cogitator wizard` is not a runtime config: only its model is taken, and * the rest comes from the environment. */ export declare function loadRunConfig(configPath: string | null, cwd?: string): RunConfig; //# sourceMappingURL=run-config.d.ts.map