import StitchServiceError from "../../StitchServiceError"; import { Decoder } from "../common/Codec"; import Event from "./Event"; export default class StitchEvent { static readonly ERROR_EVENT_NAME: string; static fromEvent(event: Event, decoder?: Decoder): StitchEvent; readonly eventName: string; readonly data: T; readonly error: StitchServiceError; private constructor(); }