import { WithSupportProps } from '@snack-uikit/utils'; import { EmblemProps } from '../../helperComponents'; import { Size } from '../../types'; export type HeaderProps = WithSupportProps<{ /** Заголовок */ title: string; /** Подзаголовок */ description?: string; /** Метаинформация */ metadata?: string; /** * Максимальное кол-во строк *
- `title` - в заголовке *
- `description` - в описании *
- `metadata` - в подзаголовке * @default '{
title: 1;
description: 2;
metadata: 1; }' */ truncate?: { title?: number; description?: number; metadata?: number; }; /** Эмблема иконка/картинка */ emblem?: EmblemProps; /** CSS-класс для элемента с контентом */ className?: string; /** Размер */ size?: Size; }>; export declare function Header({ title, description, metadata, truncate, emblem, className, size: sizeProp, ...rest }: HeaderProps): import("react/jsx-runtime").JSX.Element;