import { type Document, Scalar } from 'yaml';
export declare function readYamlFile<T = Record<string, unknown>>(file: string): T;
export type YamlDocument = Document.Parsed;
export declare function editYamlFile(file: string, callback: (doc: YamlDocument) => void): void;
export declare function scalarString(value: string): Scalar<string>;
