/// Accessibility is optional and used only for Replace (SEE: docs/SELECTION_AND_CLIPBOARD.md). @MainActor public protocol AccessibilityPermissionChecking: AnyObject { /// Whether the app is currently trusted for Accessibility. var isTrusted: Bool { get } /// Shows the system prompt. Call only from onboarding or an explicit Replace click. func requestTrust() /// Opens System Settings ▸ Privacy & Security ▸ Accessibility. func openSettings() } /// The login-item seam; production uses `SMAppService.mainApp`. @MainActor public protocol LaunchAtLoginControlling: AnyObject { /// The current system state. var isEnabled: Bool { get } /// Registers or unregisters the app. func setEnabled(_ enabled: Bool) throws }