import React from 'react'; import type { TrustAlignment, TrustIconSize, TrustItem } from './TrustStrip.js'; /** * Trust strip drawer form. Owns the repeating items list plus a global * layout section (columns, icon size, alignment, divider). * * The form binds against `settings.items` as a JSONB array. Reorder / * add / remove all mutate the array directly via `setValue` — we don't * lean on useFieldArray because every item is shallow (no per-field * register), so the array-level setValue won't cause focus loss like it * did in the slideshow's text inputs. */ interface TrustStripSettingProps { trustStripWidget?: { items?: TrustItem[]; columns?: number | null; showIcons?: boolean | null; iconSize?: TrustIconSize | null; alignment?: TrustAlignment | null; divider?: boolean | null; }; } export default function TrustStripSetting({ trustStripWidget }: TrustStripSettingProps): React.JSX.Element; export declare const query = "\n query Query(\n $items: [TrustItemInput]\n $columns: Int\n $showIcons: Boolean\n $iconSize: String\n $alignment: String\n $divider: Boolean\n ) {\n trustStripWidget(\n items: $items\n columns: $columns\n showIcons: $showIcons\n iconSize: $iconSize\n alignment: $alignment\n divider: $divider\n ) {\n items {\n id\n icon\n iconWidth\n iconHeight\n title\n description\n link {\n url\n newTab\n }\n }\n columns\n showIcons\n iconSize\n alignment\n divider\n }\n }\n"; export declare const variables = "{\n items: getWidgetSetting(\"items\", []),\n columns: getWidgetSetting(\"columns\"),\n showIcons: getWidgetSetting(\"showIcons\", true),\n iconSize: getWidgetSetting(\"iconSize\", \"md\"),\n alignment: getWidgetSetting(\"alignment\", \"center\"),\n divider: getWidgetSetting(\"divider\", false)\n}"; export {};