docusaurus/jest/deps.d.ts
Alexey Pyltsyn 5746c58f41
refactor: handle all admonitions via JSX component (#7152)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-03 14:26:33 +02:00

30 lines
677 B
TypeScript
Vendored

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// modules only used in tests
declare module 'to-vfile' {
import type {VFile} from 'vfile';
export function read(path: string, encoding?: string): Promise<VFile>;
}
declare module 'remark-mdx' {
import type {Plugin} from 'unified';
const mdx: Plugin;
export = mdx;
}
declare module 'remark-rehype';
declare module 'rehype-stringify';
declare module '@testing-utils/git' {
const createTempRepo: typeof import('./utils/git').createTempRepo;
export {createTempRepo};
}