/** * SPDX-FileCopyrightText: (c) 2026 Liferay, Inc. https://liferay.com * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06 */ import React from 'react'; export interface ICardDescriptionProps extends React.HTMLAttributes { /** * Flag to indicate if href will be disabled. */ disabled?: boolean; /** * Type of description that can be applied for a text. */ displayType: 'text' | 'title' | 'subtitle'; /** * Path or URL */ href?: string; /** * Define the name of the container element. */ tag?: 'p' | 'span' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; /** * Truncates the text inside a description. */ truncate?: boolean; } declare function Description({ children, className, disabled, displayType, href, tag: Tag, truncate, ...otherProps }: ICardDescriptionProps): React.JSX.Element; export default Description;