import { VueWrapper } from '@vue/test-utils'; import { nextTick } from 'vue'; import { RouterOptions } from 'vue-router'; import { DefaultPluginsOptions } from './defaultPlugins'; export { mount, shallowMount } from '@vue/test-utils'; export declare const getComposableWrapper: (setup: (...args: any[]) => T, { mocks, provide, template, pluginOptions }?: { mocks?: Record; provide?: Record; template?: string; pluginOptions?: DefaultPluginsOptions; }) => VueWrapper & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never> & { $: import("vue").ComponentInternalInstance; $data: {}; $props: Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>; $attrs: import("vue").Attrs; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("vue").Slot; }>; $root: import("vue").ComponentPublicInstance | null; $parent: import("vue").ComponentPublicInstance | null; $host: Element | null; $emit: (event: string, ...args: any[]) => void; $el: any; $options: import("vue").ComponentOptionsBase & Readonly<{}>, T, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof nextTick; $watch any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle; } & Readonly<{}> & Omit & Readonly<{}>, keyof import("vue").ShallowUnwrapRef<{} & (T extends void ? {} : T)>> & import("vue").ShallowUnwrapRef<{} & (T extends void ? {} : T)> & {} & import("vue").ComponentCustomProperties & {}, import("vue").ComponentPublicInstance & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>>, { $: import("vue").ComponentInternalInstance; $data: {}; $props: Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>; $attrs: import("vue").Attrs; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("vue").Slot; }>; $root: import("vue").ComponentPublicInstance | null; $parent: import("vue").ComponentPublicInstance | null; $host: Element | null; $emit: (event: string, ...args: any[]) => void; $el: any; $options: import("vue").ComponentOptionsBase & Readonly<{}>, T, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof nextTick; $watch any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle; } & Readonly<{}> & Omit & Readonly<{}>, keyof import("vue").ShallowUnwrapRef<{} & (T extends void ? {} : T)>> & import("vue").ShallowUnwrapRef<{} & (T extends void ? {} : T)> & {} & import("vue").ComponentCustomProperties & {} & Omit & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>>, keyof import("vue").VNodeProps | keyof import("vue").AllowedComponentProps>>>; export declare const getOcSelectOptions: (wrapper: VueWrapper, selector: string, options?: { close: boolean; }) => Promise[]>; export type { RouteLocation } from 'vue-router'; export { RouterLinkStub } from '@vue/test-utils'; export declare const createRouter: (options?: Partial) => import("vue-router")._RouterClassic; export declare const writable: (value: Readonly) => T; export declare const sleep: (ms: number) => Promise; export declare const nextTicks: (amount: number) => Promise; export declare const createMockFile: (name: string, sizeInBytes: number, type?: string) => File; type DefinedComponent = new (...args: any[]) => any; export type ComponentProps = InstanceType['$props']; export type PartialComponentProps = Partial>;