// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { WebSocketMessageV2 } from "common-utils";

export interface AppAction {
    actionName: string;
    fullActionName?: string;
    parameters: any;
}

export interface BoundingBox {
    top: number;
    left: number;
    bottom: number;
    right: number;
    selector?: string;
    index?: number;
}

export interface Settings {
    [key: string]: any;
    websocketHost?: string;
}

export interface HTMLFragment {
    frameId: number;
    content: string;
    text: string;
}

// Re-export types that are used across multiple files
export {
    isWebAgentMessage,
    isWebAgentMessageFromDispatcher,
    WebAgentDisconnectMessage,
} from "../../../dist/common/webAgentMessageTypes.mjs";
