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;
