import type { ResolvedConfig, ResolvedServerConfig, ConfigFileInfo } from './types.js';
/**
 * Default server configuration
 * Follows Playwright's webServer pattern
 */
export declare const DEFAULT_SERVER_CONFIG: ResolvedServerConfig;
/**
 * Check whether the server-side JSON config exists in the given directory.
 * This file is *not* loaded by this loader — it's a separate config plane
 * for runtime (storage, observability, custom agents) read directly by
 * server services. We only surface its presence in the startup log.
 */
export declare function hasServerJsonConfig(cwd?: string): boolean;
/**
 * Find config file in the given directory
 */
export declare function findConfigFile(cwd?: string): ConfigFileInfo | null;
/**
 * Load and resolve configuration
 *
 * @param cwd - Working directory to search for config file
 * @param force - Force reload even if cached
 */
export declare function loadConfig(cwd?: string, force?: boolean): Promise<ResolvedConfig>;
/**
 * Load config synchronously (for use in module initialization)
 * Returns defaults if no config file or if loading fails
 */
export declare function loadConfigSync(cwd?: string): ResolvedConfig;
/**
 * Clear config cache (useful for testing)
 */
export declare function clearConfigCache(): void;
/**
 * Get config file info without loading
 */
export declare function getConfigFileInfo(cwd?: string): ConfigFileInfo | null;
//# sourceMappingURL=loader.d.ts.map