import { BaseWidgetState, WidgetsStoreProps } from '../stores/types'; import { WrapperState } from '../wrapper/types'; import { DownloadItem } from '../actions/download/types'; import { Components } from 'react-markdown'; export interface MarkdownComponentProps { children: string; overrides?: Components; } export interface MarkdownUIProps { id: WidgetsStoreProps['id']; } export interface MarkdownDataItem { content: string; } export type MarkdownWidgetData = MarkdownDataItem; export type MarkdownWidgetState = BaseWidgetState>; export type MarkdownWidgetConfig = Record; export type MarkdownDownloadConfig = DownloadItem[];