import type { ConfigViewSection } from "@mono-agent/config"; import type { JsonEnvFieldSpec } from "@mono-agent/agent-contracts"; import type { MonoAgentAppConfigInput } from "./app-config.js"; import type { ChannelDriver } from "./channels.js"; /** * The driver facts a channel config view needs: enough to resolve the section * status through the channel's own loader without starting anything. */ type ChannelViewDriver = Pick; /** * Compose one channel's source-annotated config section from the adapter's * exported field registry — the channel counterpart of the core * `buildMonoAgentConfigView`. Field sources resolve with the loader's own * layering semantics (a set env var wins, then a JSON value the layer function * would encode, else the default), so the view can never disagree with what the * adapter actually reads. Secret fields are never printed — only set/unset. */ export declare function buildChannelConfigView(driver: ChannelViewDriver, fields: readonly JsonEnvFieldSpec[], input: MonoAgentAppConfigInput, options?: { readonly jsonKey?: string; }): Promise; /** * Collect every driver's config view section. Advisory surface: a channel * whose view fails to compose is skipped — its validate section reports the * load problem loudly instead. */ export declare function collectChannelConfigViews(drivers: readonly ChannelDriver[], input: MonoAgentAppConfigInput): Promise; export {}; //# sourceMappingURL=channel-config-view.d.ts.map