import { ComponentOptions } from 'vue'; import { ComponentPublicInstance } from 'vue'; import { SetupContext } from 'vue'; import { UnwrapRef } from 'vue'; import { VNode } from 'vue'; export declare interface ClassComponentHooks { data?(): object; beforeCreate?(): void; created?(): void; beforeMount?(): void; mounted?(): void; beforeUnmount?(): void; unmounted?(): void; beforeUpdate?(): void; updated?(): void; activated?(): void; deactivated?(): void; render?(): VNode | void; errorCaptured?(err: Error, vm: Vue, info: string): boolean | undefined; serverPrefetch?(): Promise; } export declare function createDecorator(factory: (options: ComponentOptions, key: string, index: number) => void): VueDecorator; export declare type ExtractInstance = T extends VueMixin ? V : never; export declare type MixedVueBase = Mixins extends (infer T)[] ? VueBase> & Vue> & PropsMixin : never; export declare function mixins(...Ctors: T): MixedVueBase; export declare function Options(options: ComponentOptions & ThisType): (target: VC) => VC; export declare interface PropsMixin { new (...args: any[]): { $props: Props; }; } export declare function setup(setupFn: () => R): UnwrapRef; export declare type UnionToIntersection = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never; export declare type Vue = ComponentPublicInstance<{}, {}, {}, {}, {}, Record, Props> & ClassComponentHooks; export declare const Vue: VueConstructor; export declare type VueBase = VueMixin & (new (...args: any[]) => V); export declare interface VueConstructor extends VueStatic { new (prop: Props, ctx: SetupContext): Vue; } export declare interface VueDecorator { (Ctor: VueBase): void; (target: Vue, key: string): void; (target: Vue, key: string, index: number): void; } export declare type VueMixin = VueStatic & { prototype: V; }; export declare interface VueStatic { /* Excluded from this release type: __vccCache */ /* Excluded from this release type: __vccBase */ /* Excluded from this release type: __vccDecorators */ /* Excluded from this release type: __vccMixins */ /* Excluded from this release type: __vccHooks */ /* Excluded from this release type: __vccOpts */ /* Excluded from this release type: render */ /* Excluded from this release type: ssrRender */ /* Excluded from this release type: __file */ /* Excluded from this release type: __cssModules */ /* Excluded from this release type: __scopeId */ /* Excluded from this release type: __hmrId */ registerHooks(keys: string[]): void; } export { }