/** * YAML configuration file tools. * Read, validate, convert between YAML/JSON, and validate against common schemas. */ /** Parse YAML content and return structured data. */ export declare function parseYaml(text: string): unknown; /** Convert a parsed object to YAML string. */ export declare function toYaml(data: unknown): string; /** Convert YAML text to JSON string. */ export declare function yamlToJson(yamlText: string): string; /** Convert JSON text to YAML string. */ export declare function jsonToYaml(jsonText: string): string; /** Validate that content is valid YAML. */ export declare function validateYaml(text: string): { valid: boolean; data?: unknown; error?: string; }; interface SchemaIssue { path: string; message: string; } /** Validate a parsed YAML document against common schema patterns. */ export declare function validateSchema(data: unknown, schemaType: "docker-compose" | "github-actions" | "kubernetes"): { valid: boolean; issues: SchemaIssue[]; }; export {}; //# sourceMappingURL=yaml-config.d.ts.map