upload-dragger.vue.d.ts 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. import { UploadDraggerProps } from "./upload-dragger.js";
  2. import * as vue from "vue";
  3. //#region ../../packages/components/upload/src/upload-dragger.vue.d.ts
  4. declare var __VLS_1: {};
  5. type __VLS_Slots = {} & {
  6. default?: (props: typeof __VLS_1) => any;
  7. };
  8. declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<UploadDraggerProps>, {
  9. disabled: undefined;
  10. }>, unknown, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
  11. file: (file: File[]) => void;
  12. }, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<UploadDraggerProps>, {
  13. disabled: undefined;
  14. }>>> & {
  15. onFile?: ((file: File[]) => any) | undefined;
  16. }, {
  17. disabled: boolean;
  18. }, {}>;
  19. declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
  20. declare const _default: typeof __VLS_export;
  21. type __VLS_TypePropsToOption<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? {
  22. type: vue.PropType<Required<T>[K]>;
  23. } : {
  24. type: vue.PropType<T[K]>;
  25. required: true;
  26. } };
  27. type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
  28. default: D[K];
  29. }> : P[K] };
  30. type __VLS_WithSlots<T, S> = T & {
  31. new (): {
  32. $slots: S;
  33. };
  34. };
  35. type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
  36. //#endregion
  37. export { _default };