import { Location } from 'slate'; import { ReactEditor } from 'slate-react'; import { DefaultElement } from "../../common/type"; export declare const autoformatBlock: (editor: ReactEditor, type: DefaultElement['type'], at: Location, { preFormat, format, }: { preFormat?: ((editor: ReactEditor) => void) | undefined; format?: ((editor: ReactEditor) => void) | undefined; }) => void;