import React, { MouseEventHandler } from "react"; import IFrontController from "../../../types/front-controller"; import { TermsAndConditions } from "../../hooks/useRecorderState"; export interface UIProps { hideLogo?: boolean; } export interface ElemStyleProps { width?: number | string; height?: number | string; className?: string; style?: object; } interface MainProperties { name: string; client: IFrontController; closable?: boolean; onClose?: MouseEventHandler; termsAndConditions?: TermsAndConditions; } declare type Props = MainProperties & ElemStyleProps & UIProps; declare const Widget: (props: Props) => React.JSX.Element; export default Widget;