@elgato/streamdeck
Version:
The official Node.js SDK for creating Stream Deck plugins.
18 lines (17 loc) • 688 B
TypeScript
import type { JsonObject } from "@elgato/utils";
import type { DidReceiveGlobalSettings } from "../../api/index.js";
import { Event } from "./event.js";
/**
* Provides event information for when the plugin received the global settings.
*/
export declare class DidReceiveGlobalSettingsEvent<T extends JsonObject> extends Event<DidReceiveGlobalSettings<T>> {
/**
* Settings associated with the event.
*/
readonly settings: T;
/**
* Initializes a new instance of the {@link DidReceiveGlobalSettingsEvent} class.
* @param source Source of the event, i.e. the original message from Stream Deck.
*/
constructor(source: DidReceiveGlobalSettings<T>);
}