import { PortableTextBlock, RenderAttributes } from '@sanity/portable-text-editor';
import { Marker } from '@sanity/types';
import React from 'react';
import PatchEvent from '../../../PatchEvent';
import { RenderBlockActions, RenderCustomMarkers } from '../types';
interface TextBlockProps {
    attributes: RenderAttributes;
    block: PortableTextBlock;
    blockRef?: React.RefObject<HTMLDivElement>;
    children: React.ReactNode;
    isFullscreen?: boolean;
    compareValue: PortableTextBlock | undefined;
    markers: Marker[];
    onChange: (event: PatchEvent) => void;
    readOnly: boolean;
    renderBlockActions?: RenderBlockActions;
    renderCustomMarkers?: RenderCustomMarkers;
    spellCheck?: boolean;
}
export declare function TextBlock(props: TextBlockProps): React.ReactElement;
export {};
//# sourceMappingURL=TextBlock.d.ts.map