/** * Configuration loader — reads agent-orchestrator.yaml and validates with Zod. * * Minimal config that just works: * projects: * my-app: * repo: org/repo * path: ~/my-app * * Everything else has sensible defaults. */ import { type OrchestratorConfig } from "./types.js"; /** * Search for config file in standard locations. * * Search order: * 1. AO_CONFIG_PATH environment variable (if set) * 2. Search up directory tree from CWD (like git) * 3. Explicit startDir (if provided) * 4. Home directory locations */ export declare function findConfigFile(startDir?: string): string | null; /** Find config file path (exported for use in hash generation) */ export declare function findConfig(startDir?: string): string | null; /** Load and validate config from a YAML file */ export declare function loadConfig(configPath?: string): OrchestratorConfig; /** Load config and return both config and resolved path */ export declare function loadConfigWithPath(configPath?: string): { config: OrchestratorConfig; path: string; }; /** Validate a raw config object */ export declare function validateConfig(raw: unknown): OrchestratorConfig; /** Get the default config (useful for `ao init`) */ export declare function getDefaultConfig(): OrchestratorConfig; //# sourceMappingURL=config.d.ts.map