import { PageViewContext } from "../page-viewer/pageViewContext";
import { FullItem, ItemDescriptor, Version } from "../pageModel";
import type { LanguageVersions } from "../../types";
export declare function ItemEditor({ item, compareToItem, itemVersions, itemLanguages, onCreateVersion, onLanguageSelected, }: {
    item?: FullItem;
    compareToItem?: FullItem;
    pageViewContext?: PageViewContext;
    /**
     * Optional overrides for versions/languages; needed when the editor is used
     * outside the main content-editor flow (e.g. settings sidebar panels).
     */
    itemVersions?: Version[];
    itemLanguages?: LanguageVersions[];
    onCreateVersion?: (descriptor: ItemDescriptor) => Promise<void>;
    onLanguageSelected?: (descriptor: ItemDescriptor) => Promise<void>;
}): import("react/jsx-runtime").JSX.Element | undefined;
