import { FC, PropsWithChildren } from 'react'; import { PropsWithClassName } from '../../lib/types/props'; import { CodeEditorProps } from '../CodeEditor'; export interface CodeBlockProps extends PropsWithClassName, PropsWithChildren, Partial> { /** The code displayed in the block. */ code?: string; /** * Controls truncation of long code blocks. `false` disables it, `true` * truncates after 8 lines, and a number sets the maximum line count. * * @default: false */ truncateLines?: boolean | number; } /** @flr-generate all */ export declare const CodeBlock: FC; export default CodeBlock;