import * as React from "react"; import { LMSState, SCORMEvent, SCORMVersion } from "./lms"; export type Props = { bridgeUrl: string; manifestUrl: string; width?: string; height?: string; initialState: LMSState; commitCallback: (state: LMSState, eventList: SCORMEvent[]) => void; sessionId?: string; }; type State = { version?: SCORMVersion; moduleUrl?: string; sessionId: string; }; export default class SCORMContainer extends React.Component { scormIFrame: React.RefObject; handleSCORMBridgeMessage: (ev: MessageEvent) => void; constructor(props: Props); componentDidMount(): void; componentWillUnmount(): void; fetchManifest: () => Promise; initSCORMListener: () => void; clearSCORMListener: () => void; sendStateToBridge: () => void; render(): React.JSX.Element; } export {};