/// import type { ComponentPublicInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ExtractDefaultPropTypes, DefineComponent, FunctionalComponent, ComputedOptions, MethodOptions, ComponentOptionsMixin, EmitsOptions, ComponentOptionsWithObjectProps, ComponentPropsOptions, ComponentOptionsWithArrayProps, ComponentOptionsWithoutProps } from 'vue'; import type { MountingOptions, VueWrapper } from './@vue/test-utils'; import { StyleOptions } from '@cypress/mount-utils'; import * as _VueTestUtils from './@vue/test-utils'; declare const VueTestUtils: { enableAutoUnmount: typeof _VueTestUtils.enableAutoUnmount; disableAutoUnmount: typeof _VueTestUtils.disableAutoUnmount; RouterLinkStub: DefineComponent<{ to: { type: (ObjectConstructor | StringConstructor)[]; required: true; }; custom: { type: BooleanConstructor; default: boolean; }; }, unknown, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly>, { custom: boolean; }>; VueWrapper: typeof VueWrapper; DOMWrapper: typeof _VueTestUtils.DOMWrapper; BaseWrapper: typeof _VueTestUtils.BaseWrapper; config: import("./@vue/test-utils/config").GlobalConfigOptions; flushPromises: typeof _VueTestUtils.flushPromises; createWrapperError: typeof _VueTestUtils.createWrapperError; }; export { VueTestUtils }; declare type GlobalMountOptions = Required>['global']; declare global { namespace Cypress { interface Cypress { vueWrapper: VueWrapper; vue: ComponentPublicInstance; } } } export declare type CyMountOptions = Omit, 'attachTo'> & { log?: boolean; /** * @deprecated use vue-test-utils `global` instead */ extensions?: GlobalMountOptions & { use?: GlobalMountOptions['plugins']; mixin?: GlobalMountOptions['mixins']; }; } & Partial; /** * the types for mount have been copied directly from the VTU mount * https://github.com/vuejs/vue-test-utils-next/blob/master/src/mount.ts * * If they are updated please copy and pase them again here. */ declare type PublicProps = VNodeProps & AllowedComponentProps & ComponentCustomProps; export declare function mount(originalComponent: { new (...args: any[]): V; registerHooks(keys: string[]): void; }, options?: MountingOptions): Cypress.Chainable; export declare function mount(originalComponent: { new (...args: any[]): V; props(Props: P): any; registerHooks(keys: string[]): void; }, options?: CyMountOptions

): Cypress.Chainable; export declare function mount(originalComponent: FunctionalComponent, options?: CyMountOptions): Cypress.Chainable; export declare function mount, EE extends string = string, PP = PublicProps, Props = Readonly>, Defaults = ExtractDefaultPropTypes>(component: DefineComponent, options?: CyMountOptions & Omit, D>): Cypress.Chainable; export declare function mount = {}, E extends EmitsOptions = Record, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, EE extends string = string>(componentOptions: ComponentOptionsWithoutProps, options?: CyMountOptions): Cypress.Chainable; export declare function mount = {}, 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?: CyMountOptions): Cypress.Chainable; export declare function mount, RawBindings, D, 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?: CyMountOptions & PublicProps, D>): Cypress.Chainable; /** * Helper function for mounting a component quickly in test hooks. * @example * import {mountCallback} from '@cypress/vue' * beforeEach(mountVue(component, options)) */ export declare function mountCallback(component: any, options?: any): () => Cypress.Chainable;