import type { ReactElement, ReactNode } from "react"; import type { CarouselEntry } from "../headless/CategoryCarousel.js"; import type { LinkComponentProp } from "./CategoryLink.js"; import type { TileSurface } from "./CategoryTileGrid.js"; import type { ThemeModeProp } from "./types.js"; export interface CategoryCarouselStripProps extends ThemeModeProp, LinkComponentProp { readonly basePath?: string; /** Turn an opaque icon reference into something renderable. Absent means no * icon is drawn — see this file's header. */ readonly renderIcon?: (reference: string, entry: CarouselEntry) => ReactNode; /** * Whether this strip and its tiles draw a SURFACE of their own. Default * `"flat"` — the same word, the same default and the same rule * `` takes, because a landing that draws both * must not be flat in one row and panelled in the next. * * - `"flat"` — no fill and no border, on the strip's own wrapper AND on * every tile in it: the row sits on the page, and a tile takes the * token fill only under the pointer or a keyboard focus, from the one * rule set `` publishes (`categoryTileCss`). Two * components, one hover, no second definition to drift; * - `"card"` — today's strip: an antd `Card` per entry inside a raised * wrapper. * * The flat default is the owner's ruling for every tile in the catalogue * (0.27.0) and its container (0.29.0): the fills carry no information and a * row of them outweighs the art inside them. */ readonly tileSurface?: TileSurface; } export declare function CategoryCarouselStrip(props: CategoryCarouselStripProps): ReactElement; //# sourceMappingURL=CategoryCarouselStrip.d.ts.map