import { Editor, Node } from 'slate'; import { WithElementType } from '../typings/element'; import { Withable } from '../typings/with'; import { EmbedStrategies } from './common'; export interface Embed

extends WithElementType, Withable { strategies: EmbedStrategies

; insertEmbed(editor: Editor, providers: P[], embedCode: string, defaultNode?: Node | string): void; }