import { DoenetMLFlags } from '../doenetml';
import { CoreWorker } from '../../packages/doenetml-worker/dist';
import * as Comlink from "comlink";
/**
 * Create a DoenetCoreWorker that is wrapped in Comlink for a nice async API.
 */
export declare function createCoreWorker(): Comlink.Remote<CoreWorker>;
export declare function initializeCoreWorker({ coreWorker, doenetML, flags, activityId, docId, requestedVariantIndex, attemptNumber, documentStructureCallback, fetchExternalDoenetML, }: {
    coreWorker: Comlink.Remote<CoreWorker>;
    doenetML: string;
    flags: DoenetMLFlags;
    activityId: string;
    docId: string;
    requestedVariantIndex: number;
    attemptNumber: number;
    documentStructureCallback?: Function;
    fetchExternalDoenetML?: (arg: string) => Promise<string>;
}): Promise<{
    success: true;
    allPossibleVariants: any;
    baseComponentCounts: any;
}>;
//# sourceMappingURL=docUtils.d.ts.map