import React from 'react'; /** * Collection stack — 1–3 stacked collection rows, each with a heading, * optional "View all" link, and a strip of products. Uses the shared * ProductList so card visuals match the category grid page. */ export interface CollectionStackRow { id: string; title: string; subText?: string | null; source?: string | null; viewAllLink?: string | null; viewAllLabel?: string | null; products: any[]; } export interface CollectionStackProps { collectionStackWidget: { rows: CollectionStackRow[]; productCount: number; countPerRow: number; divider: boolean; }; } export default function CollectionStack({ collectionStackWidget }: CollectionStackProps): React.JSX.Element | null; export declare const query = "\n query Query(\n $collections: JSON\n $productCount: Int\n $countPerRow: Int\n $divider: Boolean\n ) {\n collectionStackWidget(\n collections: $collections\n productCount: $productCount\n countPerRow: $countPerRow\n divider: $divider\n ) {\n rows {\n id\n title\n subText\n source\n viewAllLink\n viewAllLabel\n products {\n ...Product\n }\n }\n productCount\n countPerRow\n divider\n }\n }\n"; export declare const fragments = "\n fragment Product on Product {\n productId\n name\n sku\n variantGroupId\n price {\n regular {\n value\n text\n }\n special {\n value\n text\n }\n }\n inventory {\n isInStock\n }\n image {\n alt\n url\n }\n url\n }\n"; export declare const variables = "{\n collections: getWidgetSetting(\"collections\", []),\n productCount: getWidgetSetting(\"productCount\", 4),\n countPerRow: getWidgetSetting(\"countPerRow\", 4),\n divider: getWidgetSetting(\"divider\", true)\n}";