type ComponentConstructor<Inst> = new (...args: unknown[]) => Inst;
interface MountPageOptions<Inst> {
    components?: [ComponentConstructor<Inst>, ...unknown[]];
    html?: string;
    template?: () => unknown;
}
/**
 * @stencil/vitest replacement for the old `newSpecPage({ components, html/template })`
 * call shape used by the migrated specs. The instance type is inferred from the
 * `components` array, so `rootInstance` is typed without any annotation at call sites.
 */
export declare const mountPage: <Inst = HTMLElement>(options: MountPageOptions<Inst>) => Promise<import("@stencil/vitest").RenderResult<HTMLElement & Inst, Inst> & {
    rootInstance: Inst;
}>;
export declare const unmountMountedPages: () => void;
export {};
