import { EditorState } from "prosemirror-state"; import * as React from "react"; export declare type EmbedProps = { isSelected: boolean; isEditable: boolean; embed: EmbedDescriptor; attrs: { href: string; matches: RegExpMatchArray; }; }; export declare class EmbedDescriptor { icon?: React.ReactElement; name?: string; title?: string; shortcut?: string; keywords?: string; tooltip?: string; defaultHidden?: boolean; attrs?: Record; visible?: boolean; active?: (state: EditorState) => boolean; component: typeof React.Component | React.FC; settings?: Record; constructor(options: Omit); matcher(url: string): boolean | [] | RegExpMatchArray; } declare const embeds: EmbedDescriptor[]; export default embeds; //# sourceMappingURL=index.d.ts.map