import React from 'react';
import { initSunmaoUI, SunmaoLib } from '@subscan/widget-runtime';
import { EditorServices } from '../types';
import '../graphiql/graphiql.css';
declare type ReturnOfInit = ReturnType<typeof initSunmaoUI>;
declare type Props = {
    App: ReturnOfInit['App'];
    eleMap: ReturnOfInit['eleMap'];
    registry: ReturnOfInit['registry'];
    stateStore: ReturnOfInit['stateManager']['store'];
    services: EditorServices;
    libs: SunmaoLib[];
    dependencies: Record<string, any>;
    onRefresh: () => void;
};
export declare const Editor: React.FC<Props>;
export {};
