/** * Arial Server - Configuration loader * * Loads configuration from arial.config.ts in the server directory. */ import type { ResolvedServerConfig, Result } from "./types.js"; /** * Load server configuration * * Resolution order: * 1. Find config file (explicit path or arial.config.ts) * 2. Load env files from config (before adapter initialization) * 3. Apply environment variable overrides * 4. Validate and resolve defaults */ export declare function loadServerConfig(configPath?: string, cwd?: string): Promise>; //# sourceMappingURL=loader.d.ts.map