index.d.ts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. ComponentCustomProps
  30. } from './vnode'
  31. export * from './v3-manual-apis'
  32. export * from './v3-generated'
  33. // <script setup> helpers
  34. export * from './v3-setup-helpers'
  35. export { Data } from './common'
  36. export { SetupContext } from './v3-setup-context'
  37. export { defineComponent, DefineComponent } from './v3-define-component'
  38. export { defineAsyncComponent } from './v3-define-async-component'
  39. export {
  40. SetupFunction,
  41. // v2 already has option with same name and it's for a single computed
  42. ComputedOptions as ComponentComputedOptions,
  43. MethodOptions as ComponentMethodOptions,
  44. ComponentPropsOptions,
  45. ComponentCustomOptions
  46. } from './v3-component-options'
  47. export {
  48. ComponentInstance,
  49. ComponentPublicInstance,
  50. CreateComponentPublicInstance,
  51. ComponentCustomProperties
  52. } from './v3-component-public-instance'
  53. export {
  54. // PropType,
  55. // PropOptions,
  56. ExtractPropTypes,
  57. ExtractDefaultPropTypes
  58. } from './v3-component-props'
  59. export {
  60. DirectiveModifiers,
  61. DirectiveBinding,
  62. DirectiveHook,
  63. ObjectDirective,
  64. FunctionDirective,
  65. Directive
  66. } from './v3-directive'
  67. export * from './built-in-components'