index.d.ts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. import { Vue } from './vue'
  2. import './umd'
  3. import './jsx'
  4. export default Vue
  5. export { CreateElement, VueConstructor } from './vue'
  6. export {
  7. Component,
  8. AsyncComponent,
  9. ComponentOptions,
  10. FunctionalComponentOptions,
  11. RenderContext,
  12. PropType,
  13. PropOptions,
  14. ComputedOptions,
  15. WatchHandler,
  16. WatchOptions,
  17. WatchOptionsWithHandler,
  18. DirectiveFunction,
  19. DirectiveOptions
  20. } from './options'
  21. export { PluginFunction, PluginObject } from './plugin'
  22. export {
  23. VNodeChildren,
  24. VNodeChildrenArrayContents,
  25. VNode,
  26. VNodeComponentOptions,
  27. VNodeData,
  28. VNodeDirective
  29. } from './vnode'
  30. export * from './v3-manual-apis'
  31. export * from './v3-generated'
  32. // <script setup> helpers
  33. export * from './v3-setup-helpers'
  34. export { Data } from './common'
  35. export { SetupContext } from './v3-setup-context'
  36. export { defineComponent } from './v3-define-component'
  37. // export { defineAsyncComponent } from './defineAsyncComponent'
  38. export {
  39. SetupFunction,
  40. // v2 already has option with same name and it's for a single computed
  41. ComputedOptions as ComponentComputedOptions,
  42. MethodOptions as ComponentMethodOptions,
  43. ComponentPropsOptions
  44. } from './v3-component-options'
  45. export {
  46. ComponentInstance,
  47. ComponentPublicInstance,
  48. ComponentRenderProxy
  49. } from './v3-component-proxy'
  50. export {
  51. // PropType,
  52. // PropOptions,
  53. ExtractPropTypes,
  54. ExtractDefaultPropTypes
  55. } from './v3-component-props'
  56. export {
  57. DirectiveModifiers,
  58. DirectiveBinding,
  59. DirectiveHook,
  60. ObjectDirective,
  61. FunctionDirective,
  62. Directive
  63. } from './v3-directive'