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<any, PerseusWidgetOptions>;
    linterContext: LinterContextProps;
};
type DefaultProps = {
    linterContext: LinterContextProps;
};
type State = {
    sizeClass: "small" | "medium" | "large" | "xlarge";
};
declare class WidgetContainer extends React.Component<Props, State> {
    widgetRef: React.RefObject<React.ComponentType<any>>;
    static defaultProps: DefaultProps;
    state: State;
    componentDidMount(): void;
    UNSAFE_componentWillReceiveProps(nextProps: Props): void;
    getWidget: () => any;
    render(): React.ReactNode;
}
export default WidgetContainer;
