import { Node_Type } from '@wix/ricos/schema';
import { Plugin } from '../../tiptap/pm/state';
import { DecorationSet } from '../../tiptap/pm/view';
/**
 * Adds a `dir` attribute to every target-type textblock outside of list
 * items:
 *
 *   dir = content.size > 0 ? 'auto' : emptyNodeDirection
 *
 * A single plugin handles multiple target types (e.g. paragraph + heading)
 * instead of one-per-type — PM's view walks every plugin's `DecorationSet`
 * once per block on each render, so fewer sets means less per-keystroke
 * `forChild` / `mapInner` work.
 */
export declare const createDirectionAttributeDecorationPlugin: (targetNodeTypes: Node_Type | Node_Type[], localeContent: string) => Plugin<DecorationSet>;
//# sourceMappingURL=direction-attribute.d.ts.map