/** Host operations for complete channel saves and secret-free status responses. */ import { type ChannelId, type ChannelSnapshot } from "./channel-config.ts"; interface ChannelSettingsContext { credentials: { describe(name: string): Promise<{ configured: boolean; writable: boolean; } | null | undefined>; set(name: string, value: string): Promise; unset(name: string): Promise; }; settings: { update(namespace: string, patch: object): Promise; }; } /** Read effective non-secret settings and metadata; never resolve a saved secret. */ export declare function readChannels(ctx: ChannelSettingsContext): Promise; /** Validate a whole card before writing its fields, then its optional replacement key. */ export declare function saveChannel(ctx: ChannelSettingsContext, payload: Record): Promise; /** Remove only the selected channel's writable key and report the effective status. */ export declare function clearChannelKey(ctx: ChannelSettingsContext, id: ChannelId): Promise; export {};