import * as V from "./index"; import { DefaultData, DefaultProps, DefaultMethods, DefaultComputed, PropsDefinition } from "./options"; // Expose some types for backward compatibility... declare namespace Vue { // vue.d.ts export type CreateElement = V.CreateElement; export type VueConstructor = V.VueConstructor; // options.d.ts export type Component, Methods=DefaultMethods, Computed=DefaultComputed, Props=DefaultProps> = V.Component; export type AsyncComponent, Methods=DefaultMethods, Computed=DefaultComputed, Props=DefaultProps> = V.AsyncComponent; export type ComponentOptions, Methods=DefaultMethods, Computed=DefaultComputed, PropsDef=PropsDefinition, Props=DefaultProps> = V.ComponentOptions; export type FunctionalComponentOptions> = V.FunctionalComponentOptions; export type RenderContext = V.RenderContext; export type PropType = V.PropType; export type PropOptions = V.PropOptions; export type ComputedOptions = V.ComputedOptions; export type WatchHandler = V.WatchHandler; export type WatchOptions = V.WatchOptions; export type WatchOptionsWithHandler = V.WatchOptionsWithHandler; export type DirectiveFunction = V.DirectiveFunction; export type DirectiveOptions = V.DirectiveOptions; // plugin.d.ts export type PluginFunction = V.PluginFunction; export type PluginObject = V.PluginObject; // vnode.d.ts export type VNodeChildren = V.VNodeChildren; export type VNodeChildrenArrayContents = V.VNodeChildrenArrayContents; export type VNode = V.VNode; export type VNodeComponentOptions = V.VNodeComponentOptions; export type VNodeData = V.VNodeData; export type VNodeDirective = V.VNodeDirective; } declare class Vue extends V.default {} export = Vue; export as namespace Vue;