import { PlateEditor, Value } from "@udecode/plate-core";
import { AutoformatBlockRule } from "../../types";
export interface AutoformatBlockOptions<V extends Value = Value> extends AutoformatBlockRule<V> {
    text: string;
}
export declare const autoformatBlock: <V extends Value>(editor: PlateEditor<V>, { text, trigger, match: _match, type, allowSameTypeAbove, preFormat, format, triggerAtBlockStart, }: AutoformatBlockOptions<V>) => boolean;
