import type { KlawConfig } from "../config/types.klaw.js"; import { type NormalizedPluginsConfig, type PluginActivationConfigSource } from "./config-state.js"; export type PluginActivationCompatConfig = { allowlistPluginIds?: readonly string[]; enablementPluginIds?: readonly string[]; vitestPluginIds?: readonly string[]; }; export type PluginActivationBundledCompatMode = { allowlist?: boolean; enablement?: "always" | "allowlist"; vitest?: boolean; }; export type PluginActivationInputs = { rawConfig?: KlawConfig; config?: KlawConfig; normalized: NormalizedPluginsConfig; activationSourceConfig?: KlawConfig; activationSource: PluginActivationConfigSource; autoEnabledReasons: Record; }; export type PluginActivationSnapshot = Pick; export type BundledPluginCompatibleActivationInputs = PluginActivationInputs & { compatPluginIds: string[]; }; export type BundledPluginCompatibleLoadValues = Pick; type BundledPluginCompatibleActivationParams = { rawConfig?: KlawConfig; resolvedConfig?: KlawConfig; autoEnabledReasons?: Record; env?: NodeJS.ProcessEnv; workspaceDir?: string; onlyPluginIds?: readonly string[]; applyAutoEnable?: boolean; compatMode: PluginActivationBundledCompatMode; resolveCompatPluginIds: (params: { config?: KlawConfig; workspaceDir?: string; env?: NodeJS.ProcessEnv; onlyPluginIds?: readonly string[]; }) => string[]; }; export declare function withActivatedPluginIds(params: { config?: KlawConfig; pluginIds: readonly string[]; overrideGlobalDisable?: boolean; overrideExplicitDisable?: boolean; }): KlawConfig | undefined; export declare function applyPluginCompatibilityOverrides(params: { config?: KlawConfig; compat?: PluginActivationCompatConfig; env: NodeJS.ProcessEnv; }): KlawConfig | undefined; export declare function resolvePluginActivationSnapshot(params: { rawConfig?: KlawConfig; resolvedConfig?: KlawConfig; autoEnabledReasons?: Record; env?: NodeJS.ProcessEnv; workspaceDir?: string; applyAutoEnable?: boolean; }): PluginActivationSnapshot; export declare function resolvePluginActivationInputs(params: { rawConfig?: KlawConfig; resolvedConfig?: KlawConfig; autoEnabledReasons?: Record; env?: NodeJS.ProcessEnv; workspaceDir?: string; compat?: PluginActivationCompatConfig; applyAutoEnable?: boolean; }): PluginActivationInputs; export declare function resolveBundledPluginCompatibleActivationInputs(params: BundledPluginCompatibleActivationParams): BundledPluginCompatibleActivationInputs; export declare function resolveBundledPluginCompatibleLoadValues(params: BundledPluginCompatibleActivationParams): BundledPluginCompatibleLoadValues; export {};