import { type PerseusWidgetOptions } from "@khanacademy/perseus-core"; import * as React from "react"; import type { WidgetProps } from "./types"; import type { LinterContextProps } from "@khanacademy/perseus-linter"; type Props = { shouldHighlight: boolean; type: string; id: string; widgetProps: WidgetProps; linterContext: LinterContextProps; }; type DefaultProps = { linterContext: LinterContextProps; }; type State = { sizeClass: "small" | "medium" | "large" | "xlarge"; }; declare class WidgetContainer extends React.Component { widgetRef: React.RefObject>; static defaultProps: DefaultProps; state: State; componentDidMount(): void; UNSAFE_componentWillReceiveProps(nextProps: Props): void; getWidget: () => any; render(): React.ReactNode; } export default WidgetContainer;