import { type Editor } from 'slate';
import { type RenderElementProps } from 'slate-react';
import { type RenderElement } from '../../controls/rich-text-v2/plugin';
export declare const withInline: (editor: Editor) => import("..").MakeswiftEditor;
export declare function InlinePlugin(): {
    control: import("@makeswift/controls").RichTextPluginControl<import("@makeswift/controls").IconRadioGroupDefinition<import("@makeswift/controls").IconRadioGroupConfig<"code" | "superscript" | "subscript"> & {
        readonly defaultValue?: "code" | "superscript" | "subscript" | undefined;
    }>, import("./types").SupportedInlineType | null> | undefined;
    withPlugin: ((editor: Editor) => Editor) | undefined;
    onKeyDown: ((event: import("react").KeyboardEvent, editor: Editor) => void) | undefined;
    renderElement: ((renderElement: RenderElement, value: any) => (props: RenderElementProps) => import("react").ReactNode) | undefined;
    renderLeaf: ((renderLeaf: import("../../controls/rich-text-v2/plugin").RenderLeaf, value: any) => (props: import("slate-react").RenderLeafProps) => import("react").ReactNode) | undefined;
};
//# sourceMappingURL=index.d.ts.map