import { IconType, StyleType, TextType } from '../../common/types';
import Message from '../base/Message';
import CardType from './CardTypes';
import ClickTypes from './ClickTypes';
export type LegendCardList = {
    icon: IconType;
    desc: string;
};
export type CardAbstractProps = {
    key?: string | number;
    cardText?: string;
    filter?: string;
    filterId?: number;
    isClosable?: boolean;
    legend?: LegendCardList[];
    style?: StyleType;
    subtitle?: string;
    title?: TextType;
    tooltip?: string;
    urlUpdate?: string;
    timeUpdate?: number;
    textMetric?: string;
    isWidgetDashboard?: boolean;
    closeButtonCustom?: IconType;
    keyStorageCardId?: string;
    intent?: string;
    clickType?: ClickTypes;
};
export default class CardAbstract extends Message {
    key?: string | number;
    cardType: CardType;
    filter?: string;
    filterId?: number;
    isClosable?: boolean;
    legend?: LegendCardList[];
    subtitle?: string;
    style?: StyleType;
    title?: TextType;
    tooltip?: string;
    urlUpdate?: string;
    timeUpdate?: number;
    textMetric?: string;
    isWidgetDashboard?: boolean;
    closeButtonCustom?: IconType;
    keyStorageCardId?: string;
    clickType?: ClickTypes;
    constructor({ key, cardText, filter, filterId, isClosable, legend, style, subtitle, title, tooltip, urlUpdate, timeUpdate, textMetric, isWidgetDashboard, closeButtonCustom, keyStorageCardId, intent, clickType, }: CardAbstractProps, cardType: CardType);
    setContent(prop: TextType): TextType;
    setValue(prop: TextType): string | number | TextType;
    setColor(prop: TextType): string;
    setTitleIcon(prop: TextType): IconType | undefined;
}
