import { default as React } from 'react';
import { DoenetMLFlags } from '../doenetml';
export declare const DocContext: React.Context<{
    doenetViewerUrl?: string;
    darkMode?: "dark" | "light";
    showAnswerResponseButton?: boolean;
    answerResponseCounts?: Record<string, number>;
}>;
export declare function DocViewer({ doenetML, userId, activityId, docId, render, hidden, attemptNumber, forceDisable, forceShowCorrectness, forceShowSolution, forceUnsuppressCheckWork, generatedVariantCallback, flags, requestedVariantIndex, initialState, setErrorsAndWarningsCallback, reportScoreAndStateCallback: specifiedReportScoreAndStateCallback, documentStructureCallback, initializedCallback, setIsInErrorState, prefixForIds, doenetViewerUrl, darkMode, showAnswerResponseButton, answerResponseCounts, initializeCounters: prescribedInitializeCounters, fetchExternalDoenetML, requestScrollTo, }: {
    doenetML: string;
    userId?: string;
    activityId?: string;
    docId?: string;
    render?: boolean;
    hidden?: boolean;
    attemptNumber?: number;
    forceDisable?: boolean;
    forceShowCorrectness?: boolean;
    forceShowSolution?: boolean;
    forceUnsuppressCheckWork?: boolean;
    generatedVariantCallback?: Function;
    flags: DoenetMLFlags;
    requestedVariantIndex: number;
    initialState?: Record<string, any> | null;
    setErrorsAndWarningsCallback?: Function;
    reportScoreAndStateCallback?: (data: {
        score: number;
        state: unknown;
        activityId: string;
        docId: string;
    }) => void;
    documentStructureCallback?: Function;
    initializedCallback?: Function;
    setIsInErrorState?: Function;
    prefixForIds?: string;
    doenetViewerUrl?: string;
    darkMode?: "dark" | "light";
    showAnswerResponseButton?: boolean;
    answerResponseCounts?: Record<string, number>;
    initializeCounters?: Record<string, number>;
    fetchExternalDoenetML?: (arg: string) => Promise<string>;
    requestScrollTo?: (offset: number) => void;
}): React.JSX.Element | null;
export declare function renderersLoadComponent(promises: Promise<any>[], rendererClassNames: string[]): Promise<Record<string, any>>;
//# sourceMappingURL=DocViewer.d.ts.map