import React from 'react'; import type { FaqMaxWidth, FaqSection_ } from './FaqBlock.js'; /** * FAQ block drawer form. Owns a `sections` array (discriminated by * `type: 'prose' | 'faq'`) plus a heading and width toggle. Prose sections * delegate authoring to the shared `Editor` (EditorJS Row[]). FAQ * sections are nested repeatable items (q+a). Both shapes coexist in * one list so the merchant can interleave prose and accordions. */ interface FaqBlockSettingProps { faqBlockWidget?: { heading?: string | null; sections?: FaqSection_[]; maxWidth?: FaqMaxWidth | null; allowMultipleOpen?: boolean | null; }; } export default function FaqBlockSetting({ faqBlockWidget }: FaqBlockSettingProps): React.JSX.Element; export declare const query = "\n query Query(\n $heading: String\n $sections: JSON\n $maxWidth: String\n $allowMultipleOpen: Boolean\n ) {\n faqBlockWidget(\n heading: $heading\n sections: $sections\n maxWidth: $maxWidth\n allowMultipleOpen: $allowMultipleOpen\n ) {\n heading\n sections\n maxWidth\n allowMultipleOpen\n }\n }\n"; export declare const variables = "{\n heading: getWidgetSetting(\"heading\"),\n sections: getWidgetSetting(\"sections\", []),\n maxWidth: getWidgetSetting(\"maxWidth\", \"normal\"),\n allowMultipleOpen: getWidgetSetting(\"allowMultipleOpen\", false)\n}"; export {};