export declare const PROJECT_CONFIG_FILES: string[]; /** * What a `cogitator.yml` configures: * - `assistant`: a config-driven assistant (`cogitator wizard`), run by `cogitator up` * - `runtime`: the Cogitator runtime of a code-first project (`@cogitator-ai/config`, * e.g. from create-cogitator-app), loaded by the project's own code */ export type ProjectConfigKind = 'assistant' | 'runtime'; /** * Tells the two kinds of `cogitator.yml` apart by their keys. A document with anything * only an assistant config has (`name`, `channels`, `llm.model`, …) is an assistant * config, so an incomplete one still gets the assistant validation errors; a document * made of runtime config keys only is a runtime config. Anything else (an empty file, * unknown keys) counts as an assistant config. */ export declare function detectConfigKind(document: unknown): ProjectConfigKind; /** The kind of the config file at `path`; YAML that does not parse counts as an assistant config. */ export declare function readConfigKind(path: string): ProjectConfigKind; /** `cogitator.yml` or `cogitator.yaml` in `cwd`, whatever it configures. */ export declare function findProjectConfig(cwd?: string): string | null; export declare function runtimeConfigMessage(path: string): string; //# sourceMappingURL=project-config.d.ts.map