import React from "react";
import { EditorConfiguration } from "../../config/types";
import "react-json-view-lite/dist/index.css";
import { FieldDescriptor, UserInfo, UserPreferences, ParheliaSettings } from "../../types";
import { ItemDescriptor } from "../pageModel";
export type FieldAction = {
    field: FieldDescriptor;
    message?: string;
    state: "running" | "success" | "error";
    label?: string;
    agentId?: string;
};
export type WindowSize = {
    width: number;
    height: number;
};
export type InsertingState = {
    positionElement: Element;
    positionAnchor: "left" | "right" | "top" | "bottom";
};
export type WebSocketMessage = {
    id: string;
    timestamp: string;
    type: string;
    payload: any;
    rawMessage: string;
};
export declare function EditorShell({ configuration, className, item: loadItemDescriptor, sessionId, userInfo, userPreferences, parheliaSettings, setUserPreferences, children, }: {
    configuration: EditorConfiguration;
    className?: string;
    item?: ItemDescriptor;
    sessionId: string;
    userInfo: UserInfo;
    userPreferences: UserPreferences;
    parheliaSettings?: ParheliaSettings;
    setUserPreferences: (preferences: Partial<UserPreferences>) => void;
    children?: React.ReactNode;
}): import("react/jsx-runtime").JSX.Element | null;
