import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces'; import { AvailableOverlays } from './Navigation/MastersNavigation'; /** * A hook that provides functionality for managing the StreamLayerSDK in the Masters app. * - On activate FG+ button, the SDK is initialized and the FG+ overlay is opened. * - On activate Channels or Leaderboard button, the SDK is disabled and the FG+ overlay is closed. * - On sdk status change, if sdk disabled (f.e some errors occurred), the SDK is disabled and the FG+ overlay is closed. * @param sdk - The StreamLayerSDK instance to use. * @returns An object containing various functions and state values for managing the SDK and app overlays. * @returns deactivate - A function that disables the SDK and closes the FG+ overlay. * @returns activateEventWithId - A function that initializes the SDK and opens the FG+ overlay. * With event (The id of the event to create a session for.) as a parameter. */ export declare const useMastersApp: (sdk: StreamLayerSDK) => { sdkEnabled: boolean; sdkReady: boolean; activeOverlay: AvailableOverlays; activateAndLoadOverlay: (event: string, overlay: AvailableOverlays) => void; activateEventWithId: (event: string) => void; deactivate: () => void; isLogged: boolean; };