import type { FunctionComponent, MouseEvent } from 'react'; import type { BaseProps, ForwardProps, FileItemProps } from '@pega/cosmos-react-core'; import type { ArticleFeedbackProps } from '../ArticleList/ArticleList.types'; export interface ArticleTag { /** Tag name */ tagName: string; /** Tag id. If not set tagName is treated as id */ id: string; } export interface ArticleFooterProps extends BaseProps { /** Feedback for this article */ feedback?: ArticleFeedbackProps; tags?: { /** Article tags */ list: ArticleTag[]; /** Callback that triggers on click of tag */ onTagClick?: (id: ArticleTag['id']) => void; }; /** Links to external sites */ relatedLinks?: { title: string; href: string; }[]; /** Links to other articles */ relatedArticles?: { id: string; title: string; onClick: (id: string, e: MouseEvent) => void; }[]; /** Attachments */ attachments?: FileItemProps[]; } declare const ArticleFooter: FunctionComponent; export default ArticleFooter; //# sourceMappingURL=ArticleFooter.d.ts.map