/** Scalars and string lists rendered as JSON, which YAML reads as the same values. */ export type YamlEntryValue = string | number | boolean | readonly string[] | Readonly>; /** `text` with `.` set to `fields`, replacing an entry of that name. */ export declare function upsertYamlEntry(text: string, topKey: string, name: string, fields: Record): string; /** Whether `.` exists as a block entry. */ export declare function hasYamlEntry(text: string, topKey: string, name: string): boolean;