/** * config-loader.ts * * Loads environment variables from a .env file and returns a typed * FrameworkConfig object used throughout the MCP server. * * Environment variables supported: * BASE_URL — the base URL of the application under test (default: http://localhost:3000) * TESTS_DIR — relative path to the tests directory (default: "tests") * * All paths in the returned FrameworkConfig are absolute so they work * regardless of which directory the process was started from. * * Role in the overall flow: * MCP server startup → loadConfig() → FrameworkConfig → all service instances */ import { FrameworkConfig } from '../types'; /** * Load configuration from environment variables (and optionally a .env file). * * @param cwd - The project root directory to search for a .env file. * Defaults to process.cwd(). * @returns A FrameworkConfig with absolute paths and resolved defaults. */ export declare function loadConfig(cwd?: string): FrameworkConfig; //# sourceMappingURL=config-loader.d.ts.map