import type { JsonObject, JsonValue } from "@elgato/utils"; import type { DidReceivePropertyInspectorMessage } from "../../api/index.js"; import type { DialAction } from "../actions/dial.js"; import type { KeyAction } from "../actions/key.js"; import { Event } from "./event.js"; /** * Provides information for an event triggered by a message being sent to the plugin, from the property inspector. */ export declare class SendToPluginEvent extends Event> { readonly action: DialAction | KeyAction; /** * Payload sent from the property inspector. */ payload: TPayload; /** * Initializes a new instance of the {@link SendToPluginEvent} class. * @param action Action that raised the event. * @param source Source of the event, i.e. the original message from Stream Deck. */ constructor(action: DialAction | KeyAction, source: DidReceivePropertyInspectorMessage); }