8f87a95114399737bbb06483746ff58b821f0c4c2870b0131f830e72c7ea402b771a80359188aba867999904ca16baa5c8a121e5c21942d7225a6cda0d7f01 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import { Component } from 'vue';
  2. interface ButtonProps {
  3. color?: string;
  4. fontColor?: string;
  5. bg?: boolean;
  6. border?: string | Component;
  7. fontSize?: number;
  8. }
  9. declare function __VLS_template(): {
  10. default?(_: {}): any;
  11. };
  12. declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
  13. color: string;
  14. fontColor: string;
  15. bg: boolean;
  16. border: string;
  17. fontSize: number;
  18. }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
  19. color: string;
  20. fontColor: string;
  21. bg: boolean;
  22. border: string;
  23. fontSize: number;
  24. }>>> & Readonly<{}>, {
  25. color: string;
  26. fontColor: string;
  27. bg: boolean;
  28. border: string | Component;
  29. fontSize: number;
  30. }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
  31. declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
  32. export default _default;
  33. type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
  34. type __VLS_TypePropsToRuntimeProps<T> = {
  35. [K in keyof T]-?: {} extends Pick<T, K> ? {
  36. type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
  37. } : {
  38. type: import('vue').PropType<T[K]>;
  39. required: true;
  40. };
  41. };
  42. type __VLS_WithDefaults<P, D> = {
  43. [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
  44. default: D[K];
  45. }> : P[K];
  46. };
  47. type __VLS_Prettify<T> = {
  48. [K in keyof T]: T[K];
  49. } & {};
  50. type __VLS_WithTemplateSlots<T, S> = T & {
  51. new (): {
  52. $slots: S;
  53. };
  54. };