/** * Content-based disambiguation for ambiguous IaC file extensions (spec-07). * * `.yaml`/`.yml`/`.json` are used by Kubernetes, CloudFormation, Helm, Ansible, * and plain config alike. `detectLanguage` can only see the extension, so it * routes these through `classifyYaml`, a small pure function that inspects path * + content. When unsure, return `null` (→ `unknown`): never force a * classification onto generic YAML (CI configs, docker-compose, app config). */ import type { IacLanguage } from './types.js'; /** * Classify an ambiguous `.yaml`/`.yml`/`.json` file by its path + content. * Returns the IaC language, or `null` when the file is not recognizably IaC. * * Note: Helm chart membership that depends on an ancestor `Chart.yaml` is * resolved by the caller (it needs the file set); here we only catch the * unambiguous Helm signal of a `{{ … }}` template under a `templates/` dir. */ export declare function classifyYaml(path: string, content: string): IacLanguage | null; //# sourceMappingURL=classify-yaml.d.ts.map