import { Theme } from '@principal-ade/industry-theme'; import { BashCommandOptions, BashCommandResult, RepositoryInfo } from '@principal-ade/markdown-utils'; import React from 'react'; import { MarkdownComponentProps, HeadingProps, ListItemProps, LinkProps, ImageProps, CodeProps, SourceProps } from '../types/markdownComponents'; interface IndustryMarkdownComponentsProps { theme: Theme; slideIdPrefix: string; slideIndex: number; onLinkClick?: (href: string, event?: MouseEvent) => void; onLinkInfoClick?: (href: string, event?: MouseEvent) => void; onCheckboxChange?: (slideIndex: number, lineNumber: number, checked: boolean) => void; checkedItems: Record; setCheckedItems: React.Dispatch>>; openHtmlModal: (content: string) => void; openPlaceholderModal?: (placeholders: string[], promptContent: string) => void; handleRunBashCommand?: (command: string, options?: BashCommandOptions) => Promise; enableHtmlPopout: boolean; slideHeaderMarginTopOverride?: number; index: number; repositoryInfo?: RepositoryInfo; transformImageUri?: (src: string) => string; editable?: boolean; selectableBlocks?: boolean; onDeleteListItem?: (chunkIndex: number, startLine: number, endLine: number) => void; } /** * Creates markdown components using industryTheme. * This directly uses Theme UI spec values from the industryTheme. */ export declare const createIndustryMarkdownComponents: ({ theme, slideIdPrefix, slideIndex, onLinkClick, onLinkInfoClick, onCheckboxChange, checkedItems, setCheckedItems, openHtmlModal, openPlaceholderModal, handleRunBashCommand, enableHtmlPopout, slideHeaderMarginTopOverride, index, repositoryInfo, transformImageUri, editable, selectableBlocks, onDeleteListItem, }: IndustryMarkdownComponentsProps) => { h1: ({ children, node, ...props }: HeadingProps) => React.JSX.Element; h2: ({ children, node, ...props }: HeadingProps) => React.JSX.Element; h3: ({ children, node, ...props }: HeadingProps) => React.JSX.Element; h4: ({ children, node, ...props }: HeadingProps) => React.JSX.Element; h5: ({ children, node, ...props }: HeadingProps) => React.JSX.Element; h6: ({ children, node, ...props }: HeadingProps) => React.JSX.Element; p: ({ children, node, ...props }: MarkdownComponentProps) => React.JSX.Element; ul: ({ children, node, ...props }: MarkdownComponentProps) => React.JSX.Element; ol: ({ children, node, ...props }: MarkdownComponentProps) => React.JSX.Element; li: ({ children, node, ...props }: ListItemProps) => React.JSX.Element; blockquote: ({ children, node, ...props }: MarkdownComponentProps) => React.JSX.Element; hr: ({ node, ...props }: MarkdownComponentProps) => React.JSX.Element; table: ({ children, node, ...props }: MarkdownComponentProps) => React.JSX.Element; thead: ({ children, ...props }: MarkdownComponentProps) => React.JSX.Element; th: ({ children, ...props }: MarkdownComponentProps) => React.JSX.Element; td: ({ children, ...props }: MarkdownComponentProps) => React.JSX.Element; a: ({ children, href, ...props }: LinkProps) => React.JSX.Element; img: ({ src, alt, ...props }: ImageProps) => React.JSX.Element; picture: ({ children, ...props }: MarkdownComponentProps) => React.JSX.Element; video: ({ children, ...props }: MarkdownComponentProps) => React.JSX.Element; source: ({ srcset, srcSet, ...props }: SourceProps) => React.JSX.Element; code: ({ node, className, children, ...props }: CodeProps) => React.JSX.Element; }; export {}; //# sourceMappingURL=IndustryMarkdownComponents.d.ts.map