UNPKG

@bitcobblers/wod-wiki-library

Version:

A specialized markdown-like workout syntax editor and runtime for defining workouts

28 lines (27 loc) 844 B
import { default as React } from 'react'; declare global { interface Window { cast?: { framework?: { CastReceiverContext: { getInstance: () => CastReceiverInstance; }; }; }; __onGCastApiAvailable?: (isAvailable: boolean) => void; } interface CastReceiverInstance { addCustomMessageListener: (namespace: string, listener: (event: CustomMessageEvent) => void) => void; start: (options?: CastReceiverOptions) => void; stop: () => void; } interface CastReceiverOptions { disableIdleTimeout?: boolean; customNamespaces?: Record<string, string>; } interface CustomMessageEvent { data: any; senderId: string; } } export declare const CastHostContainer: React.FC;