import type { TemplateResult } from 'lit';
declare global {
    namespace Babel {
        function transform(code: string, opts?: {
            presets?: string[];
        }): {
            code: string;
        };
    }
    namespace ReactDOM {
        function unmountComponentAtNode(element: Element): void;
    }
}
/**
 * Creates a new React app "wrapper" for a passed in web component.
 *
 * Awaits for React and the web component to be ready.
 *
 * Registers a side effect to clean up the React app and code
 * after each test.
 *
 * @param  code The element code you'd like to inject into React.
 *
 * @returns  Returns the new web component rendered within React.
 */
export declare function fixture<T extends Element = HTMLElement>(testCase: string | TemplateResult): Promise<T>;
