import type { Config as SurfaceConfig } from '../config/config-surface.js';
import type { ExtensionLoader } from './loader.js';
/**
 * Flat payload for `GET /api/context` and client-side `when` evaluation.
 */
export declare function buildWhenContextSnapshot(config: SurfaceConfig, loader: ExtensionLoader | null): Record<string, unknown>;
