import * as ReactDOM from 'react-dom/client'; import { FloatingWindowType } from './enums'; import { FloatingWindowInterface, FloatingWindowProps } from './types'; export declare class FloatingWindow implements FloatingWindowInterface { id: string; type: FloatingWindowType; top: number; left: number; movable: boolean; backgroundColor: string; boxShadow: string; zIndex?: number; dataTest?: string; contentFunction: (element: HTMLElement) => ReactDOM.Root; /** * Returns object to be used in the setter for the Floating Window * * @param top - position in which the the top left corner of the floating window is relative * to the top of the rendered window. It must return the root element where the floating window * was rendered. * @param left - position in which the the top left corner of the floating window is relative * to the left of the rendered window. * @param movable - tells whether the floating window is movable or static. * @param backgroundColor - background color of the floating window. * @param boxShadow - box shadow to apply to the floating window * @param zIndex - z-index of the floating window (Optional). * @param contentFunction - function that gives the html element to render the content of * the floating window. It must return the root element where the floating window was rendered. * * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5). */ constructor({ id, top, left, movable, backgroundColor, boxShadow, zIndex, contentFunction, dataTest, }: FloatingWindowProps); setItemId: (id: string) => void; }