/** * Server level events for Eufy WebSocket API */ import { EVENT_SOURCES } from "../common"; import { SERVER_EVENTS, ServerEventType } from "./constants"; export type ServerEventSource = typeof EVENT_SOURCES.SERVER; export interface BaseServerEventPayload { source: ServerEventSource; event: TEventName; } export interface ShutdownEventPayload extends BaseServerEventPayload { } export type ServerEventPayload = ShutdownEventPayload; export type ServerEventPayloadByType = Extract; //# sourceMappingURL=events.d.ts.map