import { IActionListItemInlineToggle } from "../../actionWidget/browser/actionList.js"; interface IAgentHostSandboxToggleState { readonly provider: string | undefined; readonly sessionEnabled: boolean | undefined; readonly confirmedEnabled?: boolean; readonly applyFailed?: boolean; readonly rejectedSelection?: boolean; readonly globalEnabled: boolean; readonly managedEnabled: boolean; readonly allowsBypass: boolean; readonly devContainer?: boolean; readonly devContainerSandboxSupported?: boolean; } /** Retains an open picker's rejected choice while the runtime synchronizes the rollback. */ export declare function preserveAgentHostSandboxToggleSelection(previous: IActionListItemInlineToggle | undefined, current: IActionListItemInlineToggle | undefined, preserveSelection: boolean): void; /** Managed sandboxing permits session changes only when bypass is allowed. */ export declare function isAgentHostSandboxDisablingBlocked(state: Pick): boolean; /** Reflect the requested selection immediately while runtime enforcement remains authoritative. */ export declare function getAgentHostSandboxToggleState(state: IAgentHostSandboxToggleState): { checked: boolean; disabled: boolean; } | undefined; /** Returns the collapsed-control state, using runtime confirmation after an application failure. */ export declare function getAgentHostSandboxCollapsedState(state: IAgentHostSandboxToggleState): boolean | undefined; export declare function equalsAgentHostSandboxTogglePresentation(previous: IActionListItemInlineToggle | undefined, current: IActionListItemInlineToggle | undefined): boolean; export declare function createAgentHostSandboxToggle(readState: () => IAgentHostSandboxToggleState, onChange: (enabled: boolean) => void): IActionListItemInlineToggle | undefined; export {};