import { FC, HTMLAttributes } from "react";
import { BundledLanguage } from "shiki/bundle/web";

//#region src/components/IDE/CodeBlockServer.d.ts
declare const CodeBlockShiki: FC<CodeBlockProps>;
type CodeBlockProps = {
  children: string;
  lang: BundledLanguage;
  isDarkMode?: boolean;
  isEditable?: boolean;
  onChange?: (content: string) => void;
} & Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>;
declare const CodeBlock: FC<CodeBlockProps>;
//#endregion
export { CodeBlock, CodeBlockProps, CodeBlockShiki };
//# sourceMappingURL=CodeBlockServer.d.ts.map