/// <reference types="react" resolution-mode="require"/>
import { Document } from '../kit/internal/types';
import { ErrorHandler } from '../kit/utils/error';
import { XOR } from '../kit/utils/types';
type CommonProps = {
    disabled?: boolean;
    disableTitle?: boolean;
    onError: ErrorHandler;
    onPageUnloadHook?: (u: () => boolean) => void;
};
type MultiProps = {
    multiple: true;
    docs: Document[];
    onDelete?: (pageNumber: number) => void;
    onNewPage: () => void;
    onSave: (docs: Document[]) => Promise<void>;
};
type SingleProps = {
    docs: Document;
    onSave: (docs: Document) => Promise<void>;
};
export type Props = CommonProps & XOR<SingleProps, MultiProps>;
declare const RichTextEditor: React.FC<Props>;
export default RichTextEditor;
//# sourceMappingURL=RichTextEditor.d.ts.map