import React from 'react'; import type { BaseProps } from '../component-helpers'; /** * Design Tokens */ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css'; type TilesVariant = 'default' | 'gridlines'; type TilesLayout = 'default' | 'compact'; export type TilesProps = { /** * The visual variant of the Tiles component. */ variant?: TilesVariant; /** * The layout density of the Tiles grid. */ layout?: TilesLayout; /** * Test id for the root Tiles element. */ 'data-testid'?: string; } & BaseProps & React.HTMLAttributes; export type TilesItemProps = { /** * The accessible name for the tile item. */ name: string; /** * Optional URL to link the tile to. */ href?: string; /** * Test id for the tile item element. */ 'data-testid'?: string; } & BaseProps & Omit, 'children'> & { children: React.ReactNode; }; /** * Use Tiles to display a grid of logos or icons with optional links. * @see https://primer.style/brand/components/Tiles */ export declare const Tiles: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes> & { Item: React.ForwardRefExoticComponent & React.RefAttributes>; testIds: { root: string; readonly grid: string; readonly item: string; }; }; export {};