index.d.ts 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. import type { Plugin } from 'vue';
  2. export declare const AppProps: () => {
  3. rootClassName: StringConstructor;
  4. message: {
  5. type: import("vue").PropType<import("../message/interface").ConfigOptions>;
  6. default: import("../message/interface").ConfigOptions;
  7. };
  8. notification: {
  9. type: import("vue").PropType<import("../notification/interface").NotificationConfig>;
  10. default: import("../notification/interface").NotificationConfig;
  11. };
  12. };
  13. declare const useApp: () => import("./context").useAppProps;
  14. declare const _default: {
  15. new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
  16. rootClassName: StringConstructor;
  17. message: {
  18. type: import("vue").PropType<import("../message/interface").ConfigOptions>;
  19. default: import("../message/interface").ConfigOptions;
  20. };
  21. notification: {
  22. type: import("vue").PropType<import("../notification/interface").NotificationConfig>;
  23. default: import("../notification/interface").NotificationConfig;
  24. };
  25. }>>, () => import("../_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
  26. rootClassName: StringConstructor;
  27. message: {
  28. type: import("vue").PropType<import("../message/interface").ConfigOptions>;
  29. default: import("../message/interface").ConfigOptions;
  30. };
  31. notification: {
  32. type: import("vue").PropType<import("../notification/interface").NotificationConfig>;
  33. default: import("../notification/interface").NotificationConfig;
  34. };
  35. }>>, {
  36. message: import("../message/interface").ConfigOptions;
  37. notification: import("../notification/interface").NotificationConfig;
  38. }, true, {}, {}, {
  39. P: {};
  40. B: {};
  41. D: {};
  42. C: {};
  43. M: {};
  44. Defaults: {};
  45. }, Readonly<import("vue").ExtractPropTypes<{
  46. rootClassName: StringConstructor;
  47. message: {
  48. type: import("vue").PropType<import("../message/interface").ConfigOptions>;
  49. default: import("../message/interface").ConfigOptions;
  50. };
  51. notification: {
  52. type: import("vue").PropType<import("../notification/interface").NotificationConfig>;
  53. default: import("../notification/interface").NotificationConfig;
  54. };
  55. }>>, () => import("../_util/type").VueNode, {}, {}, {}, {
  56. message: import("../message/interface").ConfigOptions;
  57. notification: import("../notification/interface").NotificationConfig;
  58. }>;
  59. __isFragment?: never;
  60. __isTeleport?: never;
  61. __isSuspense?: never;
  62. } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
  63. rootClassName: StringConstructor;
  64. message: {
  65. type: import("vue").PropType<import("../message/interface").ConfigOptions>;
  66. default: import("../message/interface").ConfigOptions;
  67. };
  68. notification: {
  69. type: import("vue").PropType<import("../notification/interface").NotificationConfig>;
  70. default: import("../notification/interface").NotificationConfig;
  71. };
  72. }>>, () => import("../_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
  73. message: import("../message/interface").ConfigOptions;
  74. notification: import("../notification/interface").NotificationConfig;
  75. }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin<any[]> & {
  76. readonly useApp: typeof useApp;
  77. };
  78. export default _default;