import type { SemanticApp, SemanticAppState, SemanticToolInput } from '@/modules/computer-use/semantics/semantic-types.js'; export type SemanticAdapterCapabilities = { platform: NodeJS.Platform; appDiscovery: boolean; accessibilityTree: boolean; nativeElementActions: boolean; nativeValueSetting: boolean; targetedInput: boolean; }; export type SemanticAdapter = { capabilities(): SemanticAdapterCapabilities; listApps(): Promise; getAppState(input: SemanticToolInput): Promise; clickElement(input: SemanticToolInput): Promise; performSecondaryAction(input: SemanticToolInput): Promise; setValue(input: SemanticToolInput): Promise; typeText(input: SemanticToolInput): Promise; pressKey(input: SemanticToolInput): Promise; scrollElement(input: SemanticToolInput): Promise; drag(input: SemanticToolInput): Promise; };