import { default as React } from 'react';
declare global {
    interface Window {
        debugRemoteControl?: boolean;
    }
}
interface RemoteControlProps {
    url: string;
    token: string;
    className?: string;
    sessionId?: string;
    openUrl?: string;
    showFrame?: boolean;
}
interface ScreenshotData {
    dataUri: string;
}
export interface ImperativeKeyboardEvent {
    type: 'keydown' | 'keyup';
    code: string;
    shiftKey?: boolean;
    altKey?: boolean;
    ctrlKey?: boolean;
    metaKey?: boolean;
}
export interface RemoteControlHandle {
    openUrl: (url: string) => void;
    sendKeyEvent: (event: ImperativeKeyboardEvent) => void;
    screenshot: () => Promise<ScreenshotData>;
}
export declare const RemoteControl: React.ForwardRefExoticComponent<RemoteControlProps & React.RefAttributes<RemoteControlHandle>>;
export {};
