//#region src/plugin-sdk/provider-enable-config.d.ts type ProviderPluginConfig = { /** Whether this plugin entry is enabled in the persisted plugin registry. */enabled?: boolean; }; type ProviderEnableConfigCarrier = { plugins?: { /** Global plugin switch; false blocks provider setup from enabling entries. */enabled?: boolean; /** Plugin ids that provider setup must not enable. */ deny?: string[]; /** Plugin ids allowed to load after provider setup enables them. */ allow?: string[]; /** Per-plugin registry entries updated by provider setup flows. */ entries?: Record; }; }; /** Result of enabling a provider plugin while honoring plugin allow/deny policy. */ type PluginEnableResult = { /** Config object to persist after the enable attempt. Unchanged when policy blocks the plugin. */config: TConfig; /** Whether the plugin was enabled and allowlisted. */ enabled: boolean; /** Human-readable policy reason when the plugin cannot be enabled. */ reason?: string; }; /** * Enables provider plugins for provider contract setup without applying channel * normalization from the core plugin enable path. */ declare function enablePluginInConfig(/** Provider setup config object to update without channel normalization. */ cfg: TConfig, /** Provider plugin id to enable and allowlist. */ pluginId: string): PluginEnableResult; //#endregion export { enablePluginInConfig as t };