export type YamlMode = 'compat' | 'strict'; export type ConfigDiagnosticKind = 'anchor' | 'alias' | 'explicit-tag' | 'non-scalar-key' | 'multiple-documents' | 'deprecated-field'; export interface ConfigDiagnostic { severity: 'warning'; kind: ConfigDiagnosticKind; file: string; line: number; column: number; message: string; } export interface ParsedFleetDocument { value: Record; diagnostics: ConfigDiagnostic[]; } /** * Parse fleet-owned YAML with an explicit, shared contract. Duplicate keys and * syntax errors always fail. YAML graph/type features are warning-first in * compat mode and fail under strict mode. */ export declare function parseFleetDocument(file: string, text: string, yamlMode?: YamlMode): ParsedFleetDocument;