import { ExpandableSectionProps, ExpandableSectionToggleProps } from '@patternfly/react-core'; export interface CodeBlockMessageProps { /** Content rendered in code block */ children?: React.ReactNode; /** Aria label applied to code block */ 'aria-label'?: string; /** Class name applied to code block */ className?: string; /** Whether code block is expandable */ isExpandable?: boolean; /** Additional props passed to expandable section if isExpandable is applied */ expandableSectionProps?: Omit; /** Additional props passed to expandable toggle if isExpandable is applied */ expandableSectionToggleProps?: ExpandableSectionToggleProps; /** Link text applied to expandable toggle when expanded */ expandedText?: string; /** Link text applied to expandable toggle when collapsed */ collapsedText?: string; /** Custom actions added to header of code block, after any default actions such as the "copy" action. */ customActions?: React.ReactNode; /** Sets background colors to be appropriate on primary chatbot background */ isPrimary?: boolean; /** Flag indicating that the content should retain message styles when using Markdown. */ shouldRetainStyles?: boolean; } declare const CodeBlockMessage: ({ children, className, "aria-label": ariaLabel, isExpandable, expandableSectionProps, expandableSectionToggleProps, expandedText, collapsedText, customActions, isPrimary, shouldRetainStyles, ...props }: CodeBlockMessageProps) => import("react/jsx-runtime").JSX.Element; export default CodeBlockMessage;