/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { AnchorHTMLAttributes, ElementType, PropsWithChildren } from 'react'; import type { IconProps } from '../Icon'; export declare const linkListLinkColors: readonly ["contrast", "inverse"]; type LinkListLinkColor = (typeof linkListLinkColors)[number]; export declare const linkListLinkSizes: readonly ["small", "large"]; type LinkListLinkSize = (typeof linkListLinkSizes)[number]; export type LinkListLinkProps = { /** Changes the text colour for readability on a light or dark background. */ readonly color?: LinkListLinkColor; /** * An icon to display instead of the default chevron. * Don’t mix custom icons with chevrons in one list. * @default ChevronForwardIcon */ readonly icon?: IconProps['svg']; /** * The React component or intrinsic element to use for the link. * Refs are forwarded only to a plain anchor (the default, or `linkComponent="a"`), not to any other `linkComponent`. */ readonly linkComponent?: ElementType; /** The size of the text. Use the same size for all items in the list. */ readonly size?: LinkListLinkSize; } & Readonly>>; /** One link with a Link List. */ export declare const LinkListLink: import("react").ForwardRefExoticComponent<{ /** Changes the text colour for readability on a light or dark background. */ readonly color?: LinkListLinkColor; /** * An icon to display instead of the default chevron. * Don’t mix custom icons with chevrons in one list. * @default ChevronForwardIcon */ readonly icon?: IconProps["svg"]; /** * The React component or intrinsic element to use for the link. * Refs are forwarded only to a plain anchor (the default, or `linkComponent="a"`), not to any other `linkComponent`. */ readonly linkComponent?: ElementType; /** The size of the text. Use the same size for all items in the list. */ readonly size?: LinkListLinkSize; } & Readonly>> & import("react").RefAttributes>; export {};