import * as React from "react";
import type { SingleASTNode, State } from "@khanacademy/simple-markdown";
export type ParseState = State & {
    currentRef: number[];
    useRefs: boolean;
    lastRef: number;
    firstSentenceRef: string | null | undefined;
    firstQuestionRef: string | null | undefined;
    lastFootnote: {
        id: number;
        text: string;
    };
};
declare function getInitialParseState(): ParseState;
declare const _default: {
    parse: (arg1: string, arg2?: ParseState | null | undefined) => Array<SingleASTNode>;
    output: (arg1: Array<SingleASTNode>) => React.ReactElement;
    START_REF_PREFIX: string;
    END_REF_PREFIX: string;
    getInitialParseState: typeof getInitialParseState;
};
export default _default;
