import type { CtaValue } from '@components/common/page-builder/fields/CtaField.js'; import React from 'react'; /** * Split feature — a 50/50 promo block: image on one side, copy panel on * the other. Configurable image position, vertical alignment, image-fit, * and CTA style. On mobile, image stacks above copy regardless of side. * * `imagePosition: right` reverses the DOM order (not just visual order) * so screen-reader flow stays sensible. */ export type SplitImagePosition = 'left' | 'right'; export type SplitVerticalAlign = 'top' | 'center' | 'bottom'; export type SplitImageFit = 'cover' | 'contain'; export interface SplitFeatureProps { splitFeatureWidget: { image: string; imageAlt: string; imagePosition: SplitImagePosition; /** Natural intrinsic width of `image`, captured at pick time. Drives * the responsive srcSet. Falls back to a hero-scale default for * widgets saved before dimension capture landed. */ width: number | null; /** Natural intrinsic height. */ height: number | null; eyebrow: string | null; heading: string; body: string | null; cta: CtaValue | null; verticalAlign: SplitVerticalAlign; imageFit: SplitImageFit; }; } export default function SplitFeature({ splitFeatureWidget }: SplitFeatureProps): React.JSX.Element | null; export declare const query = "\n query Query(\n $image: String\n $imageAlt: String\n $imagePosition: String\n $width: Float\n $height: Float\n $eyebrow: String\n $heading: String\n $body: String\n $cta: JSON\n $verticalAlign: String\n $imageFit: String\n ) {\n splitFeatureWidget(\n image: $image\n imageAlt: $imageAlt\n imagePosition: $imagePosition\n width: $width\n height: $height\n eyebrow: $eyebrow\n heading: $heading\n body: $body\n cta: $cta\n verticalAlign: $verticalAlign\n imageFit: $imageFit\n ) {\n image\n imageAlt\n imagePosition\n width\n height\n eyebrow\n heading\n body\n cta\n verticalAlign\n imageFit\n }\n }\n"; export declare const variables = "{\n image: getWidgetSetting(\"image\"),\n imageAlt: getWidgetSetting(\"imageAlt\"),\n imagePosition: getWidgetSetting(\"imagePosition\", \"left\"),\n width: getWidgetSetting(\"width\"),\n height: getWidgetSetting(\"height\"),\n eyebrow: getWidgetSetting(\"eyebrow\"),\n heading: getWidgetSetting(\"heading\"),\n body: getWidgetSetting(\"body\"),\n cta: getWidgetSetting(\"cta\"),\n verticalAlign: getWidgetSetting(\"verticalAlign\", \"center\"),\n imageFit: getWidgetSetting(\"imageFit\", \"cover\")\n}";