export declare const AGENT_HOST_AUTOMATIONS_ENABLED_CONFIG_KEY = "automationsEnabled"; export declare const automationRootConfigSchema: import("./agentHostSchema.js").ISchema<{ automationsEnabled: import("./agentHostSchema.js").ISchemaProperty; }>; /** Whether the provider used the legacy flattened Automation mode and permission fields. */ export declare function supportsLegacyAutomationSessionConfig(provider: string | undefined): boolean; /** Migrates the legacy combined Autopilot value into the Copilot Automation's current two-axis configuration. */ export declare function migrateLegacyAutomationSessionConfig(provider: string | undefined, config: undefined): undefined; export declare function migrateLegacyAutomationSessionConfig(provider: string | undefined, config: Record): Record; export declare function migrateLegacyAutomationSessionConfig(provider: string | undefined, config: Record | undefined): Record | undefined; /** Applies the legacy flattened Automation values to provider configuration. */ export declare function applyLegacyAutomationSessionConfig(provider: string | undefined, config: Readonly> | undefined, mode: string | undefined, permissionLevel: string | undefined): Record;