import { Editor } from 'slate'; import { NodeType, InputConfig, ForPlugin, ForToolHook } from '@artibox/slate-common'; import { InstagramController } from './controller'; import { CreateInstagramRendererConfig } from './renderer'; export declare type InstagramForPluginConfig = Omit; export interface InstagramForToolHookConfig { /** * The callback method override the origin setInputConfig provided by toolbar. */ setInputConfig?: (editor: Editor, inputConfig: InputConfig) => Editor | void; } export declare type Instagram = NodeType & InstagramController & ForPlugin & ForToolHook; export declare type CreateInstagramConfig = Partial; export declare function createInstagram(config?: CreateInstagramConfig): Instagram;