import type { PlanningAction } from '../../types';
export interface BaseAction {
    _metadata: string;
    think?: string;
}
export interface TapAction extends BaseAction {
    _metadata: 'do';
    action: 'Tap';
    element: [number, number];
}
export interface DoubleTapAction extends BaseAction {
    _metadata: 'do';
    action: 'Double Tap';
    element: [number, number];
}
export interface TypeAction extends BaseAction {
    _metadata: 'do';
    action: 'Type';
    text: string;
}
export interface SwipeAction extends BaseAction {
    _metadata: 'do';
    action: 'Swipe';
    start: [number, number];
    end: [number, number];
}
export interface LongPressAction extends BaseAction {
    _metadata: 'do';
    action: 'Long Press';
    element: [number, number];
}
export interface LaunchAction extends BaseAction {
    _metadata: 'do';
    action: 'Launch';
    app: string;
}
export interface BackAction extends BaseAction {
    _metadata: 'do';
    action: 'Back';
}
export interface HomeAction extends BaseAction {
    _metadata: 'do';
    action: 'Home';
}
export interface WaitAction extends BaseAction {
    _metadata: 'do';
    action: 'Wait';
    durationMs: number;
}
export interface InteractAction extends BaseAction {
    _metadata: 'do';
    action: 'Interact';
}
export interface CallAPIAction extends BaseAction {
    _metadata: 'do';
    action: 'Call_API';
    instruction: string;
}
export interface TakeoverAction extends BaseAction {
    _metadata: 'do';
    action: 'Take_over';
    message: string;
}
export interface NoteAction extends BaseAction {
    _metadata: 'do';
    action: 'Note';
    message: string;
}
export interface FinishAction extends BaseAction {
    _metadata: 'finish';
    message: string;
}
export type ParsedAction = TapAction | DoubleTapAction | TypeAction | SwipeAction | LongPressAction | LaunchAction | BackAction | HomeAction | WaitAction | InteractAction | CallAPIAction | TakeoverAction | NoteAction | FinishAction;
export declare function transformAutoGLMAction(action: ParsedAction, size: {
    width: number;
    height: number;
}): PlanningAction[];
