declare module 'react-katex' {
  import * as React from 'react';

  interface BlockMathProps {
    math: string;
    renderError?: (error: Error) => React.ReactNode;
  }

  interface InlineMathProps {
    math: string;
    renderError?: (error: Error) => React.ReactNode;
  }

  export const BlockMath: React.FC<BlockMathProps>;
  export const InlineMath: React.FC<InlineMathProps>;
}
