import type { ElementalIfCondition } from "@/types/conditions.types"; /** * Shared TipTap attribute definition for the `if` conditional field. * Spread into any block extension's `addAttributes()` return to enable * round-tripping of the `if` field through the editor. * * Handles both string expressions and structured ElementalConditionExpression. */ export declare const conditionalAttribute: { if: { default: ElementalIfCondition | undefined; parseHTML: (element: HTMLElement) => ElementalIfCondition | undefined; renderHTML: (attributes: Record) => { "data-if"?: undefined; } | { "data-if": string; }; }; };