import { BrowserAutomationCapabilityService } from '../../../../core/browser/index.js';
export class ControlPlaneBrowserAutomationController {
    static async overview(workspaceRoot, stateRoot) {
        return await ControlPlaneBrowserAutomationController.service(workspaceRoot, stateRoot).overview();
    }
    static async setEnabled(workspaceRoot, stateRoot, enabled) {
        return await ControlPlaneBrowserAutomationController.service(workspaceRoot, stateRoot).setEnabled(enabled);
    }
    static async updateSettings(workspaceRoot, stateRoot, input) {
        return await ControlPlaneBrowserAutomationController.service(workspaceRoot, stateRoot).updateSettings(input);
    }
    static async openProfileWindow(workspaceRoot, stateRoot, input) {
        return await ControlPlaneBrowserAutomationController.service(workspaceRoot, stateRoot).openProfileWindow(input);
    }
    static async closeProfileWindow(workspaceRoot, stateRoot) {
        return await ControlPlaneBrowserAutomationController.service(workspaceRoot, stateRoot).closeProfileWindow();
    }
    static service(workspaceRoot, stateRoot) {
        return new BrowserAutomationCapabilityService({
            workspaceRoot,
            stateRoot,
        });
    }
}
//# sourceMappingURL=browser-automation.js.map