import type { ReadonlyFS } from "../types.js";
import type { LoadedConfig } from "./types.js";
/**
 * Load, parse, validate, and normalize `.goat-flow/config.yaml`; malformed YAML never throws and
 * instead returns a structured invalid config.
 *
 * @param projectRoot - repository root whose `.goat-flow/config.yaml` should be loaded
 * @param fs - optional filesystem adapter for tests and audit facts
 * @returns parsed config state, including defaults when the file is absent or invalid
 */
export declare function loadConfig(projectRoot: string, fs?: ReadonlyFS): LoadedConfig;
//# sourceMappingURL=reader.d.ts.map