/**
 * Computer Control Tool
 *
 * OpenClaw-inspired unified interface for AI agents to control the computer.
 * Integrates:
 * - Smart Snapshot for element detection
 * - Mouse/keyboard automation
 * - System control (volume, brightness)
 * - Screen recording
 * - Permission management
 */
import { ToolResult } from '../types/index.js';
export type ComputerAction = 'snapshot' | 'snapshot_with_screenshot' | 'get_element' | 'find_elements' | 'click' | 'double_click' | 'right_click' | 'move_mouse' | 'drag' | 'scroll' | 'type' | 'key' | 'hotkey' | 'get_windows' | 'focus_window' | 'close_window' | 'get_volume' | 'set_volume' | 'get_brightness' | 'set_brightness' | 'notify' | 'lock' | 'sleep' | 'start_recording' | 'stop_recording' | 'recording_status' | 'system_info' | 'battery_info' | 'network_info' | 'check_permission';
export interface ComputerControlInput {
    action: ComputerAction;
    interactiveOnly?: boolean;
    ref?: number;
    role?: string;
    name?: string;
    x?: number;
    y?: number;
    button?: 'left' | 'right' | 'middle';
    duration?: number;
    text?: string;
    key?: string;
    modifiers?: string[];
    deltaX?: number;
    deltaY?: number;
    windowTitle?: string;
    level?: number;
    muted?: boolean;
    title?: string;
    body?: string;
    format?: 'mp4' | 'webm' | 'gif';
    fps?: number;
    audio?: boolean;
    permission?: string;
}
export declare class ComputerControlTool {
    private automation;
    private permissions;
    private systemControl;
    private snapshotManager;
    private screenRecorder;
    /**
     * Execute a computer control action
     */
    execute(input: ComputerControlInput): Promise<ToolResult>;
    private takeSnapshot;
    private snapshotWithScreenshot;
    private getElement;
    private findElements;
    private click;
    private doubleClick;
    private rightClick;
    private moveMouse;
    private drag;
    private scroll;
    private typeText;
    private pressKey;
    private hotkey;
    private getWindows;
    private focusWindow;
    private closeWindow;
    private getVolume;
    private setVolume;
    private getBrightness;
    private setBrightness;
    private sendNotification;
    private lockScreen;
    private sleepSystem;
    private startRecording;
    private stopRecording;
    private getRecordingStatus;
    private getSystemInfo;
    private getBatteryInfo;
    private getNetworkInfo;
    private checkPermission;
    private resolvePoint;
    /**
     * Translate technical errors into AI-friendly messages (OpenClaw-inspired)
     */
    private toAIFriendlyError;
    private formatBytes;
}
export declare function getComputerControlTool(): ComputerControlTool;
export declare function resetComputerControlTool(): void;
export default ComputerControlTool;
