// iRynk components: window.IRynk. Needs React 18 and ReactDOM on the page, plus tokens.css and bundle.css. import type { ReactNode, MouseEventHandler, FormEventHandler } from 'react'; export type IconName = 'menu' | 'map-pin' | 'search' | 'user' | 'shopping-cart' | 'mic' | 'camera' | 'arrow-right' | 'chevron-left' | 'chevron-right' | 'grid' | 'plus' | 'heart' | 'truck' | 'star' | 'check-circle'; export interface IconProps { name: IconName; size?: number; strokeWidth?: number; label?: string; className?: string; } export interface ButtonProps { variant?: 'primary' | 'outline' | 'soft'; size?: 'md' | 'sm'; icon?: IconName; iconStart?: IconName; href?: string; type?: 'button' | 'submit'; block?: boolean; disabled?: boolean; onClick?: MouseEventHandler; className?: string; children: ReactNode; } export interface IconButtonProps { icon: IconName; label: string; variant?: 'primary' | 'outline' | 'ghost'; size?: 'md' | 'lg'; disabled?: boolean; onClick?: MouseEventHandler; className?: string; } export interface ChipProps { tone?: 'sprout' | 'neutral' | 'deal' | 'gold'; size?: 'md' | 'sm'; className?: string; children: ReactNode; } export interface EyebrowProps { rule?: boolean; className?: string; children: ReactNode; } export interface SearchBarProps { id?: string; placeholder?: string; defaultValue?: string; label?: string; voice?: boolean; camera?: boolean; onSubmit?: FormEventHandler; className?: string; } export interface CategoryBadgeProps { image: string; label: string; href?: string; className?: string; } export interface ProductCardProps { name: string; seller: string; price: string; unit?: string; wasPrice?: string; image?: string; tag?: string; onAdd?: MouseEventHandler; className?: string; } export interface SellerCardProps { name: string; location: string; distance: string; rating: string; cover?: string; monogram?: string; logoTone?: 'paper' | 'forest'; tag?: string; delivery?: string; verified?: boolean; className?: string; } export interface SectionPanelProps { title: string; subtitle?: string; icon?: IconName; actionLabel?: string; actionHref?: string; arrows?: boolean; className?: string; children?: ReactNode; } export interface PromoBannerProps { title: string; eyebrow?: string; body?: string; cta?: string; ctaHref?: string; image?: string; badgeTop?: string; badgeBottom?: string; className?: string; } export declare function Icon(props: IconProps): JSX.Element; export declare function Button(props: ButtonProps): JSX.Element; export declare function IconButton(props: IconButtonProps): JSX.Element; export declare function Chip(props: ChipProps): JSX.Element; export declare function Eyebrow(props: EyebrowProps): JSX.Element; export declare function SearchBar(props: SearchBarProps): JSX.Element; export declare function CategoryBadge(props: CategoryBadgeProps): JSX.Element; export declare function ProductCard(props: ProductCardProps): JSX.Element; export declare function SellerCard(props: SellerCardProps): JSX.Element; export declare function SectionPanel(props: SectionPanelProps): JSX.Element; export declare function PromoBanner(props: PromoBannerProps): JSX.Element;