> | string[];
}, options?: MountingOptions$1 & Record): Promise;
declare function renderToString(originalComponent: {
new (...args: any[]): V;
registerHooks(keys: string[]): void;
}, options?: MountingOptions$1 & Record): Promise;
declare function renderToString(originalComponent: {
new (...args: any[]): V;
props(Props: P): any;
registerHooks(keys: string[]): void;
}, options?: MountingOptions$1 & Record): Promise;
declare function renderToString(originalComponent: FunctionalComponent, options?: MountingOptions$1 & Record): Promise;
declare function renderToString, EE extends string = string, PP = PublicProps$1, Props = Readonly>, Defaults extends {} = ExtractDefaultPropTypes>(component: DefineComponent, options?: MountingOptions$1 & Omit, D> & Record): Promise;
declare function renderToString>(component: T, options?: ComponentMountingOptions$1): Promise;
declare function renderToString = {}, E extends EmitsOptions = Record, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, EE extends string = string>(componentOptions: ComponentOptionsWithoutProps, options?: MountingOptions$1): Promise;
declare function renderToString = {}, E extends EmitsOptions = Record, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, EE extends string = string, Props extends Readonly<{
[key in PropNames]?: any;
}> = Readonly<{
[key in PropNames]?: any;
}>>(componentOptions: ComponentOptionsWithArrayProps, options?: MountingOptions$1): Promise;
declare function renderToString, RawBindings, D extends {}, C extends ComputedOptions = {}, M extends Record = {}, E extends EmitsOptions = Record, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, EE extends string = string>(componentOptions: ComponentOptionsWithObjectProps, options?: MountingOptions$1 & PublicProps$1, D>): Promise;
declare function createWrapperError(wrapperType: 'DOMWrapper' | 'VueWrapper'): T;
declare function flushPromises(): Promise;
declare function disableAutoUnmount(): void;
declare function enableAutoUnmount(hook: (callback: () => void) => void): void;
declare const VueTestUtils: {
renderToString: typeof renderToString;
enableAutoUnmount: typeof enableAutoUnmount;
disableAutoUnmount: typeof disableAutoUnmount;
RouterLinkStub: DefineComponent<{
to: {
type: (ObjectConstructor | StringConstructor)[];
required: true;
};
custom: {
type: BooleanConstructor;
default: boolean;
};
}, unknown, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly>, {
custom: boolean;
}>;
VueWrapper: typeof VueWrapper;
DOMWrapper: typeof DOMWrapper;
BaseWrapper: typeof BaseWrapper;
config: GlobalConfigOptions;
flushPromises: typeof flushPromises;
createWrapperError: typeof createWrapperError;
};
type GlobalMountOptions = Required>['global'];
declare global {
namespace Cypress {
interface Cypress {
vueWrapper: VueWrapper;
vue: ComponentPublicInstance;
}
}
}
type MountingOptions = Omit, 'attachTo'> & {
log?: boolean;
/**
* @deprecated use vue-test-utils `global` instead
*/
extensions?: GlobalMountOptions & {
use?: GlobalMountOptions['plugins'];
mixin?: GlobalMountOptions['mixins'];
};
};
type CyMountOptions = MountingOptions