import React, { PropsWithChildren } from 'react'; import { type Icon as IconProps } from '@primer/octicons-react'; import type { BaseProps } from '../component-helpers'; /** * Design tokens */ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css'; import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css'; export type EyebrowBannerProps = BaseProps & { href: string; ['data-testid']?: string; } & React.HTMLAttributes & React.AnchorHTMLAttributes; type EyebrowBannerHeadingProps = PropsWithChildren>; type EyebrowBannerSubHeadingProps = PropsWithChildren>; export declare const EyebrowBannerIconColors: readonly ["default", "blue", "coral", "green", "gray", "indigo", "lemon", "lime", "orange", "pink", "purple", "red", "teal", "yellow"]; export declare const defaultEyebrowBannerIconColor: "default"; type EyebrowBannerVisual = BaseProps & { icon?: React.ReactNode | IconProps; color?: (typeof EyebrowBannerIconColors)[number]; hasBackground?: boolean; ['aria-hidden']?: boolean; children?: React.ReactNode; }; declare const EyebrowBannerVisual: React.ForwardRefExoticComponent & React.RefAttributes>; export declare const EyebrowBannerLabelColors: readonly ["blue-purple", "green-blue", "pink-blue", "purple-red", "red-orange", "default", "blue", "coral", "green", "gray", "indigo", "lemon", "lime", "orange", "pink", "purple", "red", "teal", "yellow"]; type EyebrowBannerLabel = BaseProps & { /** * The color variations available in EyebrowBanner.Label */ color?: (typeof EyebrowBannerLabelColors)[number]; }; declare const EyebrowBannerLabel: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; /** * Use EyebrowBanner to display a short message at the top of a page. * @see https://primer.style/brand/components/EyebrowBanner */ export declare const EyebrowBanner: React.ForwardRefExoticComponent & React.RefAttributes> & { Visual: React.ForwardRefExoticComponent & React.RefAttributes>; Label: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; Heading: React.ForwardRefExoticComponent & React.RefAttributes>; SubHeading: React.ForwardRefExoticComponent & React.RefAttributes>; testIds: { root: string; visual: string; label: string; expandableArrow: string; }; }; export {};