import type { ElementalIfCondition } from "@/types/conditions.types"; interface ConditionsSectionProps { value: ElementalIfCondition | undefined; onChange: (value: ElementalIfCondition | undefined) => void; } /** * Reusable section for block sidebar forms that wraps the Conditions component * with the feature flag attribute, standard divider/header, and Add/Remove all * controls matching the Journeys conditions pattern. * * Maintains local state because the `element` prop in sidebar forms is a stale * ProseMirrorNode reference — without local state, controlled inputs would * reset on every re-render. Event propagation is also stopped so the parent * form's `onChange` (which calls `updateNodeAttributes(form.getValues())` and * doesn't know about `if`) cannot interfere. */ export declare const ConditionsSection: ({ value: propValue, onChange }: ConditionsSectionProps) => import("react/jsx-runtime").JSX.Element; export {};