import React from 'react';
import { PortableTextChild, RenderAttributes, Type } from '@sanity/portable-text-editor';
import { Marker, Path } from '@sanity/types';
import { RenderCustomMarkers } from '../types';
interface AnnotationProps {
    attributes: RenderAttributes;
    children: JSX.Element;
    hasError: boolean;
    hasWarning: boolean;
    markers: Marker[];
    onFocus: (path: Path) => void;
    renderCustomMarkers: RenderCustomMarkers;
    type: Type;
    readOnly: boolean;
    value: PortableTextChild;
    scrollElement: HTMLElement;
}
export declare const Annotation: React.ForwardRefExoticComponent<AnnotationProps & React.RefAttributes<HTMLSpanElement>>;
export {};
//# sourceMappingURL=Annotation.d.ts.map