import React from 'react'; import { ReactEditor } from 'slate-react'; import { Editor as ModifiedEditor } from '../../../../../utils/types'; import './style.css'; declare interface ModifiedEditorSecond extends ModifiedEditor, ReactEditor { } export declare type ModalComponentProps = { editor: ModifiedEditorSecond; closeModal: Function; }; export declare const insertEmbedAsset: ({ asset, editor, isInline }: { asset: any; editor: any; isInline: any; }) => void; export { handleRTEAssetSubmit } from '../../../../../../../../utils/rteAssetSubmit'; export declare const SelectEmbedAssetType: ({ imageSelected, isInline, setIsInline }: { imageSelected: any; isInline: any; setIsInline: any; }) => React.JSX.Element; export declare const SelectEmbedAssetTypeUpload: ({ imageSelected, isInline, setIsInline }: { imageSelected: any; isInline: any; setIsInline: any; }) => React.JSX.Element; export declare const getDefaultState: (editor: any) => { linkTitle: string; href: string; newTab: boolean; }; export declare const insertReferenceLink: ({ editor, image, linkTitle, newTab, title }: { editor: any; image: any; linkTitle: any; newTab: any; title: any; }) => void; export default class extends React.Component { state: { linkDetails: { linkTitle: string; href: string; newTab: boolean; }; image: { url: string; filename: string; uid: string; }; newTab: boolean; isInline: boolean; }; setImage: (asset: any) => void; setIsInline: (value: any) => void; handleSubmit: () => void; handleReset: () => void; render(): React.JSX.Element; }