export declare function useCreateEditor({ domElement, activeId, moduleResolver, }: {
    domElement: HTMLDivElement | null;
    activeId?: string;
    moduleResolver?: (moduleName?: any) => null;
}): {
    compile: (code: string) => Function;
    run: (code: any) => void;
    getCompiledCode: (code: string) => string;
};
