import { Plugin } from '../../tiptap/pm/state';
import { DecorationSet } from '../../tiptap/pm/view';
/**
 * Adds, depending on the list item's first child:
 * - a font-size (so the list marker and paddings size with the first text node),
 * - a `data-child-font-fit` flag when that font-size is smaller than the block's
 *   own default, so the child paragraph/heading shrinks its font to match (see
 *   `list-checkbox.scss`),
 * - and/or a `data-heading-level` attribute (so a heading-first list item gets
 *   heading styles).
 *
 * No `reuseWhen`: the decoration value depends on the first child's first
 * text node's marks / type, which inline-text edits can change (pasting
 * marked text in front of an unmarked first character, typing that changes
 * the first mark, etc.). Cache is still used across selection-only
 * transactions.
 */
export declare const createListItemSizingDecorationPlugin: () => Plugin<DecorationSet>;
//# sourceMappingURL=list-item-sizing.d.ts.map