import * as t from '@babel/types'; import { Plugin } from 'vite'; import { MochaEnv } from '../index.js'; export declare function canvasMode(env: MochaEnv): Plugin; export declare function transformJSX(srcCode: string, filePath: string): import("@babel/generator").GeneratorResult; export declare function addSourceAttributes(srcCode: string, filePath: string): { ast: import("@babel/parser").ParseResult; }; export declare function replaceTextAndStripSourceAttributes(elementId: string, text: string): { code: string; filePath: string; }; export declare function stripSourceAttributes({ ast }: { ast: t.File; }): { ast: t.File; code: string; };