import * as React from 'react'; export type ProductTileProps = { title: string; subtitle?: string | null; /** Already-formatted price / cost line (caller owns currency). */ price: React.ReactNode; imageUrl?: string | null; /** * How the image fills its box. 'cover' (default, unchanged) crops to fill — * fine for photos shot to the tile's aspect ratio (food, apparel on a * model). 'contain' shows the WHOLE image uncropped, letterboxed on * `bg-muted` — use it for catalog/product shots that aren't pre-cropped to * 4:3 (e.g. a round tire photo, a logo, packaging on white), where 'cover' * would slice off the edges. */ imageFit?: 'cover' | 'contain'; /** CSS aspect-ratio of the image box (default '4 / 3'); e.g. '1 / 1' for square catalogs. */ imageAspect?: string; /** Product code / SKU, shown in mono under the title (alongside subtitle). */ code?: string | null; /** Free footer row under the price (stock line, unit, quick actions). */ footer?: React.ReactNode; disabled?: boolean; /** Corner overlay (stock badge, etc.). */ badge?: React.ReactNode; /** Hover affordance (e.g. +). Shown only when not disabled. */ hoverAction?: React.ReactNode; onClick?: () => void; className?: string; }; /** * Dense product card for till grids (POS / purchases). Presentation-only — * pricing, stock rules and add-to-cart live in the addon. * * Uses inline `aspectRatio` (not Tailwind `aspect-*`) so federated remotes * keep the ratio even when the host CSS scanner misses arbitrary utilities. */ export declare function ProductTile({ title, subtitle, price, imageUrl, imageFit, imageAspect, code, footer, disabled, badge, hoverAction, onClick, className, }: ProductTileProps): React.JSX.Element; /** Resolve media key / absolute URL for till tiles. Empty → no image. */ export declare function resolveTillImageUrl(image: string | null | undefined, /** Media root of the host API (keeps the base URL configurable). */ mediaBase?: string): string; //# sourceMappingURL=product-tile.d.ts.map