mention-dropdown.vue.d.ts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. import { MentionOption } from "./types.js";
  2. import { MentionDropdownProps } from "./mention-dropdown.js";
  3. import * as _$vue from "vue";
  4. //#region ../../packages/components/mention/src/mention-dropdown.vue.d.ts
  5. declare var __VLS_1: {}, __VLS_11: {
  6. item: MentionOption;
  7. index: number;
  8. }, __VLS_13: {}, __VLS_15: {};
  9. type __VLS_Slots = {} & {
  10. header?: (props: typeof __VLS_1) => any;
  11. } & {
  12. label?: (props: typeof __VLS_11) => any;
  13. } & {
  14. loading?: (props: typeof __VLS_13) => any;
  15. } & {
  16. footer?: (props: typeof __VLS_15) => any;
  17. };
  18. declare const __VLS_base: _$vue.DefineComponent<MentionDropdownProps, {
  19. hoveringIndex: _$vue.Ref<number, number>;
  20. navigateOptions: (direction: "next" | "prev") => void;
  21. selectHoverOption: () => void;
  22. hoverOption: _$vue.ComputedRef<MentionOption>;
  23. }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
  24. select: (option: MentionOption) => void;
  25. }, string, _$vue.PublicProps, Readonly<MentionDropdownProps> & Readonly<{
  26. onSelect?: ((option: MentionOption) => any) | undefined;
  27. }>, {
  28. options: MentionOption[];
  29. }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
  30. declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
  31. declare const _default: typeof __VLS_export;
  32. type __VLS_WithSlots<T, S> = T & {
  33. new (): {
  34. $slots: S;
  35. };
  36. };
  37. //#endregion
  38. export { _default as default };