/** * Props a custom code block renderer receives. * @public */ export interface AiResponseCodeBlockProps { /** * The content of the code block, without the surrounding fences. While the response is * streaming, this is the part of the content that has been received so far. */ code: string; /** * Whether the closing fence of the code block has been received. Content is revealed * word by word, so a code block is rendered long before its content is complete. Use * this to show a placeholder until the content can be processed. */ isComplete: boolean; /** * The language of the fenced code block, e.g. `'dt-visualization'` for a block opened * with a `dt-visualization` fence. */ language: string; } //# sourceMappingURL=ai-response-types.d.ts.map