import type React from 'react'; import type ShopifyProduct from './ShopifyProduct'; import type ShopifyProductVariant from './ShopifyProductVariant'; import type ShopifyCollection from './ShopifyCollection'; import type { MenuItem } from '../types'; /** * Component and prop types for each custom block type - mirrors the block types declared in * web/frontend/formSchemaDefination/features/customBlocks/formSchema.js (shopify-app-builder-new). * `CustomBlock.` types the component itself (its default export); `CustomBlock.Props` * types just its props, for when the props are needed on their own (e.g. destructuring helpers). */ export declare namespace CustomBlock { interface ProductListItemProps { data: { product: ShopifyProduct; }; } type ProductListItem = React.ComponentType; interface CollectionListItemProps { data: { collection: ShopifyCollection; }; } type CollectionListItem = React.ComponentType; interface ProductStickerProps { data: { product: ShopifyProduct; variant: ShopifyProductVariant; }; } type ProductSticker = React.ComponentType; interface ProductInformationProps { product: ShopifyProduct; variant: ShopifyProductVariant; data: Record; } type ProductInformation = React.ComponentType; interface HeaderProps { data: { menuItems?: MenuItem[]; }; } type Header = React.ComponentType; interface FooterProps { data: { menuItems?: MenuItem[]; }; } type Footer = React.ComponentType; interface DrawerMenuProps { data: { menuItems?: MenuItem[]; }; } type DrawerMenu = React.ComponentType; interface SectionProps { data: Record; } type Section = React.ComponentType; interface PageProps { data: Record; } type Page = React.ComponentType; } //# sourceMappingURL=CustomBlock.d.ts.map