diff --git a/theme/src/types.d.ts b/theme/src/types.d.ts index e6678212569..a6b6b4f3682 100644 --- a/theme/src/types.d.ts +++ b/theme/src/types.d.ts @@ -1,34 +1 @@ /// - -declare module '@theme/CodeSnippetBlock' { - import type { Props as BaseProps } from '@theme/CodeBlock'; - - export interface Props extends Omit { - language: string; - code: string; - startString?: string; - endString?: string; - } - - export default function CodeSnippetBlock(props: Props): JSX.Element; -} - -declare module '@theme/AddToMetaMaskButton' { - export default function AddToMetaMaskButton(): JSX.Element; -} - -declare module '@theme/DocBanner' { - export default function DocBanner(): JSX.Element; -} - -declare module '@theme/NetworkInfo' { - export default { - IOTA: JSX.Element, - Shimmer: JSX.Element, - ShimmerEVM: JSX.Element, - ShimmerEVMAdditional: JSX.Element, - Testnet: JSX.Element, - TestnetEVM: JSX.Element, - TestnetEVMAdditional: JSX.Element, - }; -}