import type { BotConfig } from "./config.js"; import { type PluginManifestRegistry } from "../plugins/manifest-registry.js"; export type PluginAutoEnableResult = { config: BotConfig; changes: string[]; }; export declare function isChannelConfigured(cfg: BotConfig, channelId: string, env?: NodeJS.ProcessEnv): boolean; export declare function applyPluginAutoEnable(params: { config: BotConfig; env?: NodeJS.ProcessEnv; /** Pre-loaded manifest registry. When omitted, the registry is loaded from * the installed plugins on disk. Pass an explicit registry in tests to * avoid filesystem access and control what plugins are "installed". */ manifestRegistry?: PluginManifestRegistry; }): PluginAutoEnableResult;