import type { RemoteClawConfig } from "../config/config.js"; import type { PluginRecord } from "./registry.js"; export type NormalizedPluginsConfig = { enabled: boolean; allow: string[]; deny: string[]; loadPaths: string[]; entries: Record; }; export declare const BUNDLED_ENABLED_BY_DEFAULT: Set; export declare const normalizePluginsConfig: (config?: RemoteClawConfig["plugins"]) => NormalizedPluginsConfig; export declare function applyTestPluginDefaults(cfg: RemoteClawConfig, env?: NodeJS.ProcessEnv): RemoteClawConfig; export declare function resolveEnableState(id: string, origin: PluginRecord["origin"], config: NormalizedPluginsConfig): { enabled: boolean; reason?: string; }; export declare function isBundledChannelEnabledByChannelConfig(cfg: RemoteClawConfig | undefined, pluginId: string): boolean; export declare function resolveEffectiveEnableState(params: { id: string; origin: PluginRecord["origin"]; config: NormalizedPluginsConfig; rootConfig?: RemoteClawConfig; }): { enabled: boolean; reason?: string; };