backtop.vue.d.ts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. import { BacktopProps } from "./backtop.js";
  2. import * as vue from "vue";
  3. //#region ../../packages/components/backtop/src/backtop.vue.d.ts
  4. declare var __VLS_7: {};
  5. type __VLS_Slots = {} & {
  6. default?: (props: typeof __VLS_7) => any;
  7. };
  8. declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BacktopProps>, {
  9. visibilityHeight: number;
  10. target: string;
  11. right: number;
  12. bottom: number;
  13. }>, unknown, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
  14. click: (evt: MouseEvent) => void;
  15. }, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BacktopProps>, {
  16. visibilityHeight: number;
  17. target: string;
  18. right: number;
  19. bottom: number;
  20. }>>> & {
  21. onClick?: ((evt: MouseEvent) => any) | undefined;
  22. }, {
  23. target: string;
  24. bottom: number;
  25. right: number;
  26. visibilityHeight: number;
  27. }, {}>;
  28. declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
  29. declare const _default: typeof __VLS_export;
  30. type __VLS_TypePropsToOption<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? {
  31. type: vue.PropType<Required<T>[K]>;
  32. } : {
  33. type: vue.PropType<T[K]>;
  34. required: true;
  35. } };
  36. type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
  37. default: D[K];
  38. }> : P[K] };
  39. type __VLS_WithSlots<T, S> = T & {
  40. new (): {
  41. $slots: S;
  42. };
  43. };
  44. type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
  45. //#endregion
  46. export { _default };