import { Text } from 'slate';
import { Slate, RichTextValue } from '@makeswift/controls';
type Props = {
    id?: string;
    text?: RichTextValue;
    width?: string;
    margin?: string;
};
declare const ReadOnlyText: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
export default ReadOnlyText;
export interface TextProps {
    descendant: Text;
}
export declare function TextElement({ descendant }: TextProps): import("react/jsx-runtime").JSX.Element;
export interface InlineProps {
    descendant: Slate.Inline;
}
export interface BlockProps {
    descendant: Slate.Block;
}
export declare function BlockElement({ descendant }: BlockProps): import("react/jsx-runtime").JSX.Element | null;
//# sourceMappingURL=ReadOnlyText.d.ts.map