divider.vue.d.ts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import { BorderStyle, DividerProps } from "./divider.js";
  2. import * as vue from "vue";
  3. //#region ../../packages/components/divider/src/divider.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<DividerProps>, {
  9. direction: string;
  10. contentPosition: string;
  11. borderStyle: string;
  12. }>, unknown, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DividerProps>, {
  13. direction: string;
  14. contentPosition: string;
  15. borderStyle: string;
  16. }>>>, {
  17. borderStyle: BorderStyle;
  18. direction: "horizontal" | "vertical";
  19. contentPosition: "left" | "center" | "right";
  20. }, {}>;
  21. declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
  22. declare const _default: typeof __VLS_export;
  23. type __VLS_TypePropsToOption<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? {
  24. type: vue.PropType<Required<T>[K]>;
  25. } : {
  26. type: vue.PropType<T[K]>;
  27. required: true;
  28. } };
  29. type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
  30. default: D[K];
  31. }> : P[K] };
  32. type __VLS_WithSlots<T, S> = T & {
  33. new (): {
  34. $slots: S;
  35. };
  36. };
  37. type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
  38. //#endregion
  39. export { _default };