import { FormFieldPresence } from '@sanity/base/presence';
import { PortableTextBlock, PortableTextChild } from '@sanity/portable-text-editor';
import { Path, Marker, SchemaType } from '@sanity/types';
import React from 'react';
import { PatchEvent } from '../../../../PatchEvent';
import { ModalWidth } from './types';
interface PopoverObjectEditingProps {
    editorPath: Path;
    elementRef: React.MutableRefObject<HTMLElement>;
    focusPath: Path;
    markers: Marker[];
    object: PortableTextBlock | PortableTextChild;
    onBlur: () => void;
    onChange: (patchEvent: PatchEvent, path: Path) => void;
    onClose: () => void;
    onFocus: (path: Path) => void;
    path: Path;
    presence: FormFieldPresence[];
    scrollElement: HTMLElement;
    readOnly: boolean;
    type: SchemaType;
    width?: ModalWidth;
}
export declare function PopoverObjectEditing(props: PopoverObjectEditingProps): React.JSX.Element;
export {};
//# sourceMappingURL=PopoverObjectEditing.d.ts.map