import { ClickWebAction, NavigateWebAction, ScrollWebAction, TypeWebAction } from "@/web/types"; import { ClickIngredient, TypeIngredient } from "@/recipe/types"; import { ScrollIngredient } from "@/ai/baml_client"; export type ActionVariant = 'load' | 'click' | 'hover' | 'type' | 'scroll' | 'wait' | 'back'; export type ActionDescriptor = NavigateActionDescriptor | ClickActionDescriptor | TypeActionDescriptor | ScrollActionDescriptor; export type NavigateActionDescriptor = NavigateWebAction & { screenshot: string; }; export type ClickActionDescriptor = ClickIngredient & ClickWebAction & { screenshot: string; }; export type TypeActionDescriptor = TypeIngredient & TypeWebAction & { screenshot: string; }; export type ScrollActionDescriptor = ScrollIngredient & ScrollWebAction & { screenshot: string; };