import { default as React } from 'react';
import { ErrorRecord, WarningRecord } from '../../packages/utils/dist';
export declare function EditorViewer({ doenetML: initialDoenetML, activityId: specifiedActivityId, prefixForIds, doenetViewerUrl, darkMode, showAnswerResponseButton, answerResponseCounts, width, height, showViewer, viewerLocation, doenetmlChangeCallback, immediateDoenetmlChangeCallback, documentStructureCallback, id: specifiedId, readOnly, showFormatter, showErrorsWarnings, showResponses, border, initialErrors, initialWarnings, fetchExternalDoenetML, }: {
    doenetML: string;
    activityId?: string;
    prefixForIds?: string;
    doenetViewerUrl?: string;
    darkMode?: "dark" | "light";
    showAnswerResponseButton?: boolean;
    answerResponseCounts?: Record<string, number>;
    width?: string;
    height?: string;
    showViewer?: boolean;
    viewerLocation?: "left" | "right" | "top" | "bottom";
    doenetmlChangeCallback?: Function;
    immediateDoenetmlChangeCallback?: Function;
    documentStructureCallback?: Function;
    id?: string;
    readOnly?: boolean;
    showFormatter?: boolean;
    showErrorsWarnings?: boolean;
    showResponses?: boolean;
    border?: string;
    initialErrors?: ErrorRecord[];
    initialWarnings?: WarningRecord[];
    fetchExternalDoenetML?: (arg: string) => Promise<string>;
}): React.JSX.Element;
//# sourceMappingURL=EditorViewer.d.ts.map