/**
 * Config loader for v2
 *
 * In v2, all runtime config (analytics, workbench) goes in createApp().
 * Vite-specific config (plugins, define, render, bundle) goes in vite.config.ts.
 *
 * Runtime config values are extracted from app.ts via app-config-extractor.
 */
import type { Logger } from '../../../types';
import { type ExtractedAppConfig } from '../app-config-extractor';
/**
 * Load runtime config from createApp() in app.ts (v2 approach).
 *
 * This is the only way to get analytics/workbench config in v2.
 * The CLI reads these values directly from the user's createApp() call.
 */
export declare function loadRuntimeConfig(rootDir: string, logger: Logger): Promise<ExtractedAppConfig>;
/**
 * Get workbench configuration with defaults.
 *
 * In v2, workbench config is extracted from createApp() in app.ts.
 */
export declare function getWorkbenchConfig(dev: boolean, runtimeConfig?: ExtractedAppConfig): {
    configured: boolean;
    enabled: boolean;
    route: string;
    headers: Record<string, string>;
};
//# sourceMappingURL=config-loader.d.ts.map