import type { Dayjs } from "dayjs"; import type { EmittedMSEvent, PlayObject, SourcePlayerObj, SourceType } from "../../../core/Atomic.ts"; import type { MSCoreEvents } from "../../../core/MSCoreEventMap.ts"; import type { WebhookPayload } from "./config/health/webhooks.ts"; export interface MSBackendEventMap extends Omit { notify: [EmittedMSEvent] discoveredToScrobble: [EmittedMSEvent<{ data: PlayObject | PlayObject[] options: { forceRefresh?: boolean, [key: string]: any, discoverLocation?: 'backlog' | [key: string] checkTime: Dayjs scrobbleFrom: string scrobbleTo: string[] } }>] playerUpdate: [EmittedMSEvent & { options: { scrobbleTo: string[], wasMonitored?: boolean } },{},SourceType>] configError: [Error | string] instantiateError: [Error] }