Files
github-actions[bot] bb855f8f94 Update
2025-06-16 19:00:59 +00:00

17 lines
694 B
TypeScript

import { YAMLException } from "js-yaml";
export declare class YAMLFileException extends YAMLException {
file: string;
constructor(error: YAMLException, file: string);
}
declare function read(file: string): KeyValue;
declare function readIfExists(file: string, fallback?: KeyValue): KeyValue;
declare function writeIfChanged(file: string, content: KeyValue): void;
declare function updateIfChanged(file: string, key: string, value: KeyValue): void;
declare const _default: {
read: typeof read;
readIfExists: typeof readIfExists;
updateIfChanged: typeof updateIfChanged;
writeIfChanged: typeof writeIfChanged;
};
export default _default;
//# sourceMappingURL=yaml.d.ts.map