import * as React from 'react';
import { Node, Text } from 'slate';
import { SlateValue } from '../../types/slate/SlateValue';
import { Migration } from '../../slateMigrations/Migration';
export type TextRuleType = (text: Text) => JSX.Element;
export type NodeRuleType = (node: Node, children: JSX.Element) => JSX.Element;
export interface SlateRendererProps {
    value: SlateValue;
    textRule: TextRuleType;
    nodeRule: NodeRuleType;
    version?: number;
    migrations?: Migration[];
}
export interface RendererRecursiveProps {
    node: Node;
    textRule: TextRuleType;
    nodeRule: NodeRuleType;
}
declare const _default: React.NamedExoticComponent<SlateRendererProps>;
export default _default;
