/// <reference types="react" />
import { CodeProps } from 'react-markdown/lib/ast-to-react';
import { KResponse, CommentaryResponse } from '@kui-shell/core';
import { Props } from '../../../Markdown';
import { CodeBlockResponseFn } from '../../components';
declare type CodeBlockResponse = Required<CommentaryResponse['props']>['codeBlockResponses'][number];
export { CodeBlockResponse };
export default function codeWrapper(mdprops: Props, uuid: string, codeBlockResponses: CodeBlockResponseFn, spliceInCodeExecution: (status: 'done' | 'error', response: KResponse, codeIdx: number) => void): (props: CodeProps & {
    codeIdx: string;
}) => JSX.Element;
