declare global { interface Window { Window: () => Window; } } type ReplyFunction = (...args: unknown[]) => void; export type FramebusPayload = { data?: string; event: string; origin: string; reply?: string | ReplyFunction; eventData?: FramebusSubscriberArg; }; export type FramebusSubscriberArg = Record; export type FramebusSubscribeHandler = (data?: FramebusSubscriberArg | FramebusSubscribeHandler, reply?: FramebusSubscribeHandler) => void; type FramebusSubscription = Record; export type FramebusSubscriber = Record; export type FramebusReplyHandler = (data: unknown) => void; export type FramebusOnHandler = (data: FramebusSubscriberArg, reply: FramebusReplyHandler) => void; export {};