/*! * Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import { DomBuilderObject, ExtendedHTMLElement } from '../helper/dom'; import { MynahIcons, MynahIconsType } from './icon'; export interface TitleDescriptionWithIconTip { title?: string | ExtendedHTMLElement | HTMLElement | DomBuilderObject; body?: string | ExtendedHTMLElement | HTMLElement | DomBuilderObject; } interface TitleDescriptionWithIconProps { title?: string | ExtendedHTMLElement | HTMLElement | DomBuilderObject; description?: string | ExtendedHTMLElement | HTMLElement | DomBuilderObject; icon?: MynahIcons | MynahIconsType; /** * Optional tip card rendered between the title and the description. * Useful for "Did you know?"-style introductions on welcome surfaces. */ tip?: TitleDescriptionWithIconTip; /** * When true, lays out icon, title, tip and description in a single * centered column instead of the default `icon | title` two-column grid. * Existing consumers get the original layout when this is not set. */ centered?: boolean; testId?: string; classNames?: string[]; } export declare class TitleDescriptionWithIcon { render: ExtendedHTMLElement; private readonly props; constructor(props: TitleDescriptionWithIconProps); } export {};