import YAML from 'yaml'; export { getGooseConfigPath } from './paths.js'; /** * Read Goose's `config.yaml` as an editable document so comments and unrelated * settings (providers, model choices) survive a sync. */ export declare function readGooseDocument(configPath: string): Promise; /** Extension entries currently present in a Goose document. */ export declare function readGooseExtensions(doc: YAML.Document.Parsed): Record; /** Replace the `extensions` map of a Goose document, keeping everything else intact. */ export declare function setGooseExtensions(doc: YAML.Document.Parsed, extensions: Record): string; /** Write the Goose config, creating `~/.config/goose` when it does not exist. */ export declare function writeGooseConfig(configPath: string, content: string): Promise;