/** * @fileoverview YAML-driven edits to `plugins.` in * `opensip-cli.config.yml`. * * Extracted from `commands/plugin.ts` to keep that module focused on * Commander wiring + the npm install/uninstall flows. The Document API * round-trips comments, ordering, and whitespace; a malformed document * fails closed so the caller surfaces a clear error. */ /** * Edit the project's `plugins.` list. Returns true when the * file was changed. * * @throws Error when the YAML document is malformed or its root is not * a mapping. The caller surfaces a "your config is broken" message. */ export declare function editPluginList(configPath: string, domain: string, name: string, op: 'add' | 'remove'): boolean; export declare function addToConfigPluginList(configPath: string, domain: string, name: string): boolean; export declare function removeFromConfigPluginList(configPath: string, domain: string, name: string): boolean; //# sourceMappingURL=config-edit.d.ts.map