import * as ReactDOM from 'react-dom/client'; import { GenericContentType } from './enums'; import { GenericContentInterface, GenericContentMainAreaProps, GenericContentSidekickAreaProps } from './types'; import { PluginIconType } from '../common/icon'; export declare class GenericContentMainArea implements GenericContentInterface { id: string; type: GenericContentType; contentFunction: (element: HTMLElement) => ReactDOM.Root; dataTest: string; /** * Returns an object that when used in the setter as a generic content will be rendered * over the meeting main presentation. * * @param contentFunction - function that gives the html element to render the content of * the generic component * @param dataTest - string attribute to be used for testing * * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5). */ constructor({ id, contentFunction, dataTest, }: GenericContentMainAreaProps); setItemId: (id: string) => void; } export declare class GenericContentSidekickArea implements GenericContentInterface { id: string; type: GenericContentType; name: string; section: string; buttonIcon: PluginIconType; open: boolean; dataTest: string; contentFunction: (element: HTMLElement) => ReactDOM.Root; /** * Returns an object that when used in the setter as a generic content will be rendered * in the sidekick panel. Every generic sidekick content has an intrinsic button associated, * which is added to the sidebar navigation and, when clicked, toggles the rendering of the * given generic sidekick content. * * @param contentFunction - function that gives the html element to render the content of * the generic content. It must return the root element where the generic content was rendered. * @param name - the label of the associated sidebar navigation button * @param section - section name under which the associated sidebar navigation button will be * displayed * @param buttonIcon - the icon of the associated sidebar navigation button * @param open - boolean value to decide wether to start open * @param dataTest - string attribute to be used for testing * * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5). */ constructor({ id, contentFunction, name, section, buttonIcon, open, dataTest, }: GenericContentSidekickAreaProps); setItemId: (id: string) => void; }