import { type ProjectConfig } from "./schema.js"; export declare const CONFIG_RELATIVE_PATH: string; /** * Walk up from `startDir` looking for `.jira-agent/project.yaml`. * Returns undefined when the project has no JAM config at all. */ export declare function findConfigPath(startDir?: string): string | undefined; export type LoadedConfig = { config: ProjectConfig; /** Undefined when defaults were used because no file was found. */ path?: string; }; /** * A missing config file is not fatal - JAM falls back to schema defaults so a * bare `jam serve` still works. A malformed one IS fatal: silently running * with the wrong field policy is worse than refusing to start. */ export declare function loadConfig(startDir?: string): LoadedConfig;