import * as React from "react";
import { PerseusI18nContext } from "./components/i18n-context";
import Renderer from "./renderer";
import type { FindWidgetsFunction, PerseusDependenciesV2, SharedRendererProps } from "./types";
import type { Hint } from "@khanacademy/perseus-core";
type Props = SharedRendererProps & {
    className?: string;
    hint: Hint;
    /**
     * Whether this is the last hint in the list.
     */
    lastHint?: boolean;
    /**
     * Whether this is the last hint rendered. Compared to lastHint, this is
     * used to tell the HintRenderer if this hint was most recently rendered.
     */
    lastRendered?: boolean;
    /**
     * The position of this hint in the list (ie. Hint 4 of 6 - pos is 4).
     */
    pos: number;
    /**
     * The total number of hints (used to render the `Hint x of y` display)
     */
    totalHints?: number;
    findExternalWidgets?: FindWidgetsFunction;
    dependencies: PerseusDependenciesV2;
};
type DefaultProps = {
    linterContext: Props["linterContext"];
};
declare class HintRenderer extends React.Component<Props> {
    static contextType: React.Context<import("./components/i18n-context").I18nContextType>;
    context: React.ContextType<typeof PerseusI18nContext>;
    rendererRef: React.RefObject<Renderer>;
    static defaultProps: DefaultProps;
    /**
     * @deprecated - do not use in new code.
     */
    getSerializedState: () => void;
    render(): React.ReactNode;
}
export default HintRenderer;
