import { Editor } from "slate";
import React from "react";
import { Alignment, MarkId, BlockId } from "../types";
export declare const isHotkey: (hotkey: string, event: React.KeyboardEvent) => boolean;
export declare const withMark: (editor: Editor) => import("slate").BaseEditor & import("slate-react").ReactEditor & import("slate-history").HistoryEditor & {
    isMarkActive(format: MarkId): boolean;
    toggleMark(format: MarkId): void;
    isBlockActive(format: BlockId): boolean;
    toggleBlock(format: BlockId): void;
    isAlignActive(align: Alignment): boolean;
    toggleAlign(align: Alignment): void;
    isLinkActive(): boolean;
    insertLink(options?: {
        onOpenLinkDialog?: (callback: (link: any) => void) => void;
    }): void;
    isListActive(listType?: "unordered" | "ordered"): boolean;
    toggleList(listType: "unordered" | "ordered"): void;
    indentList(): void;
    outdentList(): void;
    insertHorizontalRule(): void;
    stripFormatting(): void;
};
export declare const withBlock: (editor: Editor) => import("slate").BaseEditor & import("slate-react").ReactEditor & import("slate-history").HistoryEditor & {
    isMarkActive(format: MarkId): boolean;
    toggleMark(format: MarkId): void;
    isBlockActive(format: BlockId): boolean;
    toggleBlock(format: BlockId): void;
    isAlignActive(align: Alignment): boolean;
    toggleAlign(align: Alignment): void;
    isLinkActive(): boolean;
    insertLink(options?: {
        onOpenLinkDialog?: (callback: (link: any) => void) => void;
    }): void;
    isListActive(listType?: "unordered" | "ordered"): boolean;
    toggleList(listType: "unordered" | "ordered"): void;
    indentList(): void;
    outdentList(): void;
    insertHorizontalRule(): void;
    stripFormatting(): void;
};
export declare const withAlignment: (editor: Editor) => import("slate").BaseEditor & import("slate-react").ReactEditor & import("slate-history").HistoryEditor & {
    isMarkActive(format: MarkId): boolean;
    toggleMark(format: MarkId): void;
    isBlockActive(format: BlockId): boolean;
    toggleBlock(format: BlockId): void;
    isAlignActive(align: Alignment): boolean;
    toggleAlign(align: Alignment): void;
    isLinkActive(): boolean;
    insertLink(options?: {
        onOpenLinkDialog?: (callback: (link: any) => void) => void;
    }): void;
    isListActive(listType?: "unordered" | "ordered"): boolean;
    toggleList(listType: "unordered" | "ordered"): void;
    indentList(): void;
    outdentList(): void;
    insertHorizontalRule(): void;
    stripFormatting(): void;
};
export declare const withLink: (editor: Editor) => import("slate").BaseEditor & import("slate-react").ReactEditor & import("slate-history").HistoryEditor & {
    isMarkActive(format: MarkId): boolean;
    toggleMark(format: MarkId): void;
    isBlockActive(format: BlockId): boolean;
    toggleBlock(format: BlockId): void;
    isAlignActive(align: Alignment): boolean;
    toggleAlign(align: Alignment): void;
    isLinkActive(): boolean;
    insertLink(options?: {
        onOpenLinkDialog?: (callback: (link: any) => void) => void;
    }): void;
    isListActive(listType?: "unordered" | "ordered"): boolean;
    toggleList(listType: "unordered" | "ordered"): void;
    indentList(): void;
    outdentList(): void;
    insertHorizontalRule(): void;
    stripFormatting(): void;
};
export declare const withList: (editor: Editor) => import("slate").BaseEditor & import("slate-react").ReactEditor & import("slate-history").HistoryEditor & {
    isMarkActive(format: MarkId): boolean;
    toggleMark(format: MarkId): void;
    isBlockActive(format: BlockId): boolean;
    toggleBlock(format: BlockId): void;
    isAlignActive(align: Alignment): boolean;
    toggleAlign(align: Alignment): void;
    isLinkActive(): boolean;
    insertLink(options?: {
        onOpenLinkDialog?: (callback: (link: any) => void) => void;
    }): void;
    isListActive(listType?: "unordered" | "ordered"): boolean;
    toggleList(listType: "unordered" | "ordered"): void;
    indentList(): void;
    outdentList(): void;
    insertHorizontalRule(): void;
    stripFormatting(): void;
};
export declare const withNormalization: (editor: Editor) => import("slate").BaseEditor & import("slate-react").ReactEditor & import("slate-history").HistoryEditor & {
    isMarkActive(format: MarkId): boolean;
    toggleMark(format: MarkId): void;
    isBlockActive(format: BlockId): boolean;
    toggleBlock(format: BlockId): void;
    isAlignActive(align: Alignment): boolean;
    toggleAlign(align: Alignment): void;
    isLinkActive(): boolean;
    insertLink(options?: {
        onOpenLinkDialog?: (callback: (link: any) => void) => void;
    }): void;
    isListActive(listType?: "unordered" | "ordered"): boolean;
    toggleList(listType: "unordered" | "ordered"): void;
    indentList(): void;
    outdentList(): void;
    insertHorizontalRule(): void;
    stripFormatting(): void;
};
export declare const withVoidElements: (editor: Editor) => import("slate").BaseEditor & import("slate-react").ReactEditor & import("slate-history").HistoryEditor & {
    isMarkActive(format: MarkId): boolean;
    toggleMark(format: MarkId): void;
    isBlockActive(format: BlockId): boolean;
    toggleBlock(format: BlockId): void;
    isAlignActive(align: Alignment): boolean;
    toggleAlign(align: Alignment): void;
    isLinkActive(): boolean;
    insertLink(options?: {
        onOpenLinkDialog?: (callback: (link: any) => void) => void;
    }): void;
    isListActive(listType?: "unordered" | "ordered"): boolean;
    toggleList(listType: "unordered" | "ordered"): void;
    indentList(): void;
    outdentList(): void;
    insertHorizontalRule(): void;
    stripFormatting(): void;
};
export declare const withInsertion: (editor: Editor) => import("slate").BaseEditor & import("slate-react").ReactEditor & import("slate-history").HistoryEditor & {
    isMarkActive(format: MarkId): boolean;
    toggleMark(format: MarkId): void;
    isBlockActive(format: BlockId): boolean;
    toggleBlock(format: BlockId): void;
    isAlignActive(align: Alignment): boolean;
    toggleAlign(align: Alignment): void;
    isLinkActive(): boolean;
    insertLink(options?: {
        onOpenLinkDialog?: (callback: (link: any) => void) => void;
    }): void;
    isListActive(listType?: "unordered" | "ordered"): boolean;
    toggleList(listType: "unordered" | "ordered"): void;
    indentList(): void;
    outdentList(): void;
    insertHorizontalRule(): void;
    stripFormatting(): void;
};
export declare const withFormatting: (editor: Editor) => import("slate").BaseEditor & import("slate-react").ReactEditor & import("slate-history").HistoryEditor & {
    isMarkActive(format: MarkId): boolean;
    toggleMark(format: MarkId): void;
    isBlockActive(format: BlockId): boolean;
    toggleBlock(format: BlockId): void;
    isAlignActive(align: Alignment): boolean;
    toggleAlign(align: Alignment): void;
    isLinkActive(): boolean;
    insertLink(options?: {
        onOpenLinkDialog?: (callback: (link: any) => void) => void;
    }): void;
    isListActive(listType?: "unordered" | "ordered"): boolean;
    toggleList(listType: "unordered" | "ordered"): void;
    indentList(): void;
    outdentList(): void;
    insertHorizontalRule(): void;
    stripFormatting(): void;
};
export declare const createKeyboardHandler: (editor: Editor, simplifiedProfile?: {
    blocks: readonly string[];
}) => (event: React.KeyboardEvent) => void;
export declare const generateInternalLinkUrl: (itemId?: string, targetItemLongId?: string, queryString?: string) => string;
