@hoci/core 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -4,6 +4,8 @@ export * from '@hoci/shared';
4
4
  import * as vue from 'vue';
5
5
  import { PropType, InjectionKey, MaybeRefOrGetter, Ref, CSSProperties as CSSProperties$1 } from 'vue';
6
6
  import { CSSProperties } from 'tslx';
7
+ import { PartialKeys, VirtualizerOptions as VirtualizerOptions$1, VirtualItem, Virtualizer, ScrollToOptions } from '@tanstack/virtual-core';
8
+ export { ScrollToOptions, VirtualItem } from '@tanstack/virtual-core';
7
9
 
8
10
  declare const affixProps: {
9
11
  fixedClass: {
@@ -48,9 +50,9 @@ declare const useAffix: _hoci_shared.HookComponent<{
48
50
  className: vue.ComputedRef<string>;
49
51
  wrapperRef: _hoci_shared.ElementRef<HTMLElement>;
50
52
  containerRef: vue.ComputedRef<(Window & typeof globalThis) | Element | null>;
51
- isFixed: Ref<boolean>;
52
- placeholderStyle: Ref<CSSProperties>;
53
- fixedStyle: Ref<CSSProperties>;
53
+ isFixed: Ref<boolean, boolean>;
54
+ placeholderStyle: Ref<CSSProperties, CSSProperties>;
55
+ fixedStyle: Ref<CSSProperties, CSSProperties>;
54
56
  updatePosition: _hoci_shared.ThrottledCancelableFn<[]>;
55
57
  }, vue.EmitsOptions, {
56
58
  fixedClass: {
@@ -167,6 +169,17 @@ declare const useFileUpload: _hoci_shared.HookComponent<{
167
169
  slice: (start?: number, end?: number, contentType?: string) => Blob;
168
170
  stream: () => ReadableStream<Uint8Array>;
169
171
  text: () => Promise<string>;
172
+ }[], File[] | {
173
+ readonly lastModified: number;
174
+ readonly name: string;
175
+ readonly webkitRelativePath: string;
176
+ readonly size: number;
177
+ readonly type: string;
178
+ arrayBuffer: () => Promise<ArrayBuffer>;
179
+ bytes: () => Promise<Uint8Array>;
180
+ slice: (start?: number, end?: number, contentType?: string) => Blob;
181
+ stream: () => ReadableStream<Uint8Array>;
182
+ text: () => Promise<string>;
170
183
  }[]>;
171
184
  openFileInput: () => void;
172
185
  }, ("change" | "update:modelValue")[], {
@@ -716,7 +729,7 @@ type HiSwitchProps = typeof switchProps;
716
729
  declare const switchEmits: ("change" | "update:modelValue" | "reject")[];
717
730
  declare const useSwitch: _hoci_shared.HookComponent<{
718
731
  toggle: (value?: any) => void;
719
- modelValue: vue.Ref<boolean> | vue.WritableComputedRef<boolean>;
732
+ modelValue: vue.Ref<boolean, boolean>;
720
733
  className: vue.ComputedRef<string>;
721
734
  isDisabled: vue.ComputedRef<boolean>;
722
735
  activateEvent: vue.ComputedRef<ActivateEvent>;
@@ -773,4 +786,87 @@ declare const useSwitch: _hoci_shared.HookComponent<{
773
786
  modelValue: boolean;
774
787
  }>;
775
788
 
776
- export { AFFIX_TARGET_KEY, type AffixProps, type HiFileUploadProps, type HiFileUploadSlotData, type HiIconProps, type HiItemSlotsData, type HiSelectionContext, type HiSelectionSlotData, type HiSwitchProps, type InitFunction, type Option, type Placement, type SelectionProps, type TriggerEvent, affixEmits, affixProps, configProviderProps, fileUploadEmits, fileUploadProps, iconProps, itemEmits, itemProps, popoverEmits, popoverProps, provideAffixTarget, selectionEmits, selectionProps, switchEmits, switchProps, useAffix, useFileUpload, useIcon, usePopover, useSelectionContext, useSelectionItem, useSelectionList, useSwitch };
789
+ type VirtualizerOptions<TScrollElement extends Element, TItemElement extends Element = Element> = PartialKeys<VirtualizerOptions$1<TScrollElement, TItemElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement" | "initialOffset">;
790
+ declare const virtualListProps: {
791
+ options: {
792
+ type: PropType<PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">>;
793
+ default: () => {};
794
+ };
795
+ count: {
796
+ type: NumberConstructor;
797
+ default: () => 0;
798
+ };
799
+ estimateSize: {
800
+ type: PropType<((index: number) => number) | number>;
801
+ default: () => 50;
802
+ };
803
+ horizontal: {
804
+ type: BooleanConstructor;
805
+ default: () => false;
806
+ };
807
+ };
808
+ declare const virtualListEmits: {
809
+ scrollEnd: () => boolean;
810
+ scrollStart: () => boolean;
811
+ scroll: (_: number[]) => boolean;
812
+ };
813
+ interface VirtualListSlotData extends VirtualItem, Record<string, unknown> {
814
+ style: CSSProperties$1;
815
+ }
816
+
817
+ declare const useVirtualList: _hoci_shared.HookComponent<{
818
+ virtualizer: Virtualizer<HTMLElement, HTMLElement>;
819
+ virtualItems: vue.ComputedRef<VirtualItem[]>;
820
+ virtualIndexes: vue.ComputedRef<number[]>;
821
+ totalSize: vue.ComputedRef<number>;
822
+ scrollElementRef: _hoci_shared.ElementRef<HTMLElement>;
823
+ measureElement: (el: HTMLElement | null) => void;
824
+ scrollToIndex: (index: number, options?: ScrollToOptions) => void;
825
+ scrollToStart: (options?: ScrollToOptions) => void;
826
+ scrollToEnd: (options?: ScrollToOptions) => void;
827
+ }, {
828
+ scrollEnd: () => boolean;
829
+ scrollStart: () => boolean;
830
+ scroll: (_: number[]) => boolean;
831
+ }, {
832
+ options: {
833
+ type: PropType<PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">>;
834
+ default: () => {};
835
+ };
836
+ count: {
837
+ type: NumberConstructor;
838
+ default: () => 0;
839
+ };
840
+ estimateSize: {
841
+ type: PropType<((index: number) => number) | number>;
842
+ default: () => 50;
843
+ };
844
+ horizontal: {
845
+ type: BooleanConstructor;
846
+ default: () => false;
847
+ };
848
+ }, vue.ExtractPropTypes<{
849
+ options: {
850
+ type: PropType<PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">>;
851
+ default: () => {};
852
+ };
853
+ count: {
854
+ type: NumberConstructor;
855
+ default: () => 0;
856
+ };
857
+ estimateSize: {
858
+ type: PropType<((index: number) => number) | number>;
859
+ default: () => 50;
860
+ };
861
+ horizontal: {
862
+ type: BooleanConstructor;
863
+ default: () => false;
864
+ };
865
+ }>, {
866
+ horizontal: boolean;
867
+ count: number;
868
+ estimateSize: number | ((index: number) => number);
869
+ options: PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">;
870
+ }>;
871
+
872
+ export { AFFIX_TARGET_KEY, type AffixProps, type HiFileUploadProps, type HiFileUploadSlotData, type HiIconProps, type HiItemSlotsData, type HiSelectionContext, type HiSelectionSlotData, type HiSwitchProps, type InitFunction, type Option, type Placement, type SelectionProps, type TriggerEvent, type VirtualListSlotData, type VirtualizerOptions, affixEmits, affixProps, configProviderProps, fileUploadEmits, fileUploadProps, iconProps, itemEmits, itemProps, popoverEmits, popoverProps, provideAffixTarget, selectionEmits, selectionProps, switchEmits, switchProps, useAffix, useFileUpload, useIcon, usePopover, useSelectionContext, useSelectionItem, useSelectionList, useSwitch, useVirtualList, virtualListEmits, virtualListProps };
package/dist/index.d.mts CHANGED
@@ -4,6 +4,8 @@ export * from '@hoci/shared';
4
4
  import * as vue from 'vue';
5
5
  import { PropType, InjectionKey, MaybeRefOrGetter, Ref, CSSProperties as CSSProperties$1 } from 'vue';
6
6
  import { CSSProperties } from 'tslx';
7
+ import { PartialKeys, VirtualizerOptions as VirtualizerOptions$1, VirtualItem, Virtualizer, ScrollToOptions } from '@tanstack/virtual-core';
8
+ export { ScrollToOptions, VirtualItem } from '@tanstack/virtual-core';
7
9
 
8
10
  declare const affixProps: {
9
11
  fixedClass: {
@@ -48,9 +50,9 @@ declare const useAffix: _hoci_shared.HookComponent<{
48
50
  className: vue.ComputedRef<string>;
49
51
  wrapperRef: _hoci_shared.ElementRef<HTMLElement>;
50
52
  containerRef: vue.ComputedRef<(Window & typeof globalThis) | Element | null>;
51
- isFixed: Ref<boolean>;
52
- placeholderStyle: Ref<CSSProperties>;
53
- fixedStyle: Ref<CSSProperties>;
53
+ isFixed: Ref<boolean, boolean>;
54
+ placeholderStyle: Ref<CSSProperties, CSSProperties>;
55
+ fixedStyle: Ref<CSSProperties, CSSProperties>;
54
56
  updatePosition: _hoci_shared.ThrottledCancelableFn<[]>;
55
57
  }, vue.EmitsOptions, {
56
58
  fixedClass: {
@@ -167,6 +169,17 @@ declare const useFileUpload: _hoci_shared.HookComponent<{
167
169
  slice: (start?: number, end?: number, contentType?: string) => Blob;
168
170
  stream: () => ReadableStream<Uint8Array>;
169
171
  text: () => Promise<string>;
172
+ }[], File[] | {
173
+ readonly lastModified: number;
174
+ readonly name: string;
175
+ readonly webkitRelativePath: string;
176
+ readonly size: number;
177
+ readonly type: string;
178
+ arrayBuffer: () => Promise<ArrayBuffer>;
179
+ bytes: () => Promise<Uint8Array>;
180
+ slice: (start?: number, end?: number, contentType?: string) => Blob;
181
+ stream: () => ReadableStream<Uint8Array>;
182
+ text: () => Promise<string>;
170
183
  }[]>;
171
184
  openFileInput: () => void;
172
185
  }, ("change" | "update:modelValue")[], {
@@ -716,7 +729,7 @@ type HiSwitchProps = typeof switchProps;
716
729
  declare const switchEmits: ("change" | "update:modelValue" | "reject")[];
717
730
  declare const useSwitch: _hoci_shared.HookComponent<{
718
731
  toggle: (value?: any) => void;
719
- modelValue: vue.Ref<boolean> | vue.WritableComputedRef<boolean>;
732
+ modelValue: vue.Ref<boolean, boolean>;
720
733
  className: vue.ComputedRef<string>;
721
734
  isDisabled: vue.ComputedRef<boolean>;
722
735
  activateEvent: vue.ComputedRef<ActivateEvent>;
@@ -773,4 +786,87 @@ declare const useSwitch: _hoci_shared.HookComponent<{
773
786
  modelValue: boolean;
774
787
  }>;
775
788
 
776
- export { AFFIX_TARGET_KEY, type AffixProps, type HiFileUploadProps, type HiFileUploadSlotData, type HiIconProps, type HiItemSlotsData, type HiSelectionContext, type HiSelectionSlotData, type HiSwitchProps, type InitFunction, type Option, type Placement, type SelectionProps, type TriggerEvent, affixEmits, affixProps, configProviderProps, fileUploadEmits, fileUploadProps, iconProps, itemEmits, itemProps, popoverEmits, popoverProps, provideAffixTarget, selectionEmits, selectionProps, switchEmits, switchProps, useAffix, useFileUpload, useIcon, usePopover, useSelectionContext, useSelectionItem, useSelectionList, useSwitch };
789
+ type VirtualizerOptions<TScrollElement extends Element, TItemElement extends Element = Element> = PartialKeys<VirtualizerOptions$1<TScrollElement, TItemElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement" | "initialOffset">;
790
+ declare const virtualListProps: {
791
+ options: {
792
+ type: PropType<PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">>;
793
+ default: () => {};
794
+ };
795
+ count: {
796
+ type: NumberConstructor;
797
+ default: () => 0;
798
+ };
799
+ estimateSize: {
800
+ type: PropType<((index: number) => number) | number>;
801
+ default: () => 50;
802
+ };
803
+ horizontal: {
804
+ type: BooleanConstructor;
805
+ default: () => false;
806
+ };
807
+ };
808
+ declare const virtualListEmits: {
809
+ scrollEnd: () => boolean;
810
+ scrollStart: () => boolean;
811
+ scroll: (_: number[]) => boolean;
812
+ };
813
+ interface VirtualListSlotData extends VirtualItem, Record<string, unknown> {
814
+ style: CSSProperties$1;
815
+ }
816
+
817
+ declare const useVirtualList: _hoci_shared.HookComponent<{
818
+ virtualizer: Virtualizer<HTMLElement, HTMLElement>;
819
+ virtualItems: vue.ComputedRef<VirtualItem[]>;
820
+ virtualIndexes: vue.ComputedRef<number[]>;
821
+ totalSize: vue.ComputedRef<number>;
822
+ scrollElementRef: _hoci_shared.ElementRef<HTMLElement>;
823
+ measureElement: (el: HTMLElement | null) => void;
824
+ scrollToIndex: (index: number, options?: ScrollToOptions) => void;
825
+ scrollToStart: (options?: ScrollToOptions) => void;
826
+ scrollToEnd: (options?: ScrollToOptions) => void;
827
+ }, {
828
+ scrollEnd: () => boolean;
829
+ scrollStart: () => boolean;
830
+ scroll: (_: number[]) => boolean;
831
+ }, {
832
+ options: {
833
+ type: PropType<PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">>;
834
+ default: () => {};
835
+ };
836
+ count: {
837
+ type: NumberConstructor;
838
+ default: () => 0;
839
+ };
840
+ estimateSize: {
841
+ type: PropType<((index: number) => number) | number>;
842
+ default: () => 50;
843
+ };
844
+ horizontal: {
845
+ type: BooleanConstructor;
846
+ default: () => false;
847
+ };
848
+ }, vue.ExtractPropTypes<{
849
+ options: {
850
+ type: PropType<PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">>;
851
+ default: () => {};
852
+ };
853
+ count: {
854
+ type: NumberConstructor;
855
+ default: () => 0;
856
+ };
857
+ estimateSize: {
858
+ type: PropType<((index: number) => number) | number>;
859
+ default: () => 50;
860
+ };
861
+ horizontal: {
862
+ type: BooleanConstructor;
863
+ default: () => false;
864
+ };
865
+ }>, {
866
+ horizontal: boolean;
867
+ count: number;
868
+ estimateSize: number | ((index: number) => number);
869
+ options: PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">;
870
+ }>;
871
+
872
+ export { AFFIX_TARGET_KEY, type AffixProps, type HiFileUploadProps, type HiFileUploadSlotData, type HiIconProps, type HiItemSlotsData, type HiSelectionContext, type HiSelectionSlotData, type HiSwitchProps, type InitFunction, type Option, type Placement, type SelectionProps, type TriggerEvent, type VirtualListSlotData, type VirtualizerOptions, affixEmits, affixProps, configProviderProps, fileUploadEmits, fileUploadProps, iconProps, itemEmits, itemProps, popoverEmits, popoverProps, provideAffixTarget, selectionEmits, selectionProps, switchEmits, switchProps, useAffix, useFileUpload, useIcon, usePopover, useSelectionContext, useSelectionItem, useSelectionList, useSwitch, useVirtualList, virtualListEmits, virtualListProps };
package/dist/index.d.ts CHANGED
@@ -4,6 +4,8 @@ export * from '@hoci/shared';
4
4
  import * as vue from 'vue';
5
5
  import { PropType, InjectionKey, MaybeRefOrGetter, Ref, CSSProperties as CSSProperties$1 } from 'vue';
6
6
  import { CSSProperties } from 'tslx';
7
+ import { PartialKeys, VirtualizerOptions as VirtualizerOptions$1, VirtualItem, Virtualizer, ScrollToOptions } from '@tanstack/virtual-core';
8
+ export { ScrollToOptions, VirtualItem } from '@tanstack/virtual-core';
7
9
 
8
10
  declare const affixProps: {
9
11
  fixedClass: {
@@ -48,9 +50,9 @@ declare const useAffix: _hoci_shared.HookComponent<{
48
50
  className: vue.ComputedRef<string>;
49
51
  wrapperRef: _hoci_shared.ElementRef<HTMLElement>;
50
52
  containerRef: vue.ComputedRef<(Window & typeof globalThis) | Element | null>;
51
- isFixed: Ref<boolean>;
52
- placeholderStyle: Ref<CSSProperties>;
53
- fixedStyle: Ref<CSSProperties>;
53
+ isFixed: Ref<boolean, boolean>;
54
+ placeholderStyle: Ref<CSSProperties, CSSProperties>;
55
+ fixedStyle: Ref<CSSProperties, CSSProperties>;
54
56
  updatePosition: _hoci_shared.ThrottledCancelableFn<[]>;
55
57
  }, vue.EmitsOptions, {
56
58
  fixedClass: {
@@ -167,6 +169,17 @@ declare const useFileUpload: _hoci_shared.HookComponent<{
167
169
  slice: (start?: number, end?: number, contentType?: string) => Blob;
168
170
  stream: () => ReadableStream<Uint8Array>;
169
171
  text: () => Promise<string>;
172
+ }[], File[] | {
173
+ readonly lastModified: number;
174
+ readonly name: string;
175
+ readonly webkitRelativePath: string;
176
+ readonly size: number;
177
+ readonly type: string;
178
+ arrayBuffer: () => Promise<ArrayBuffer>;
179
+ bytes: () => Promise<Uint8Array>;
180
+ slice: (start?: number, end?: number, contentType?: string) => Blob;
181
+ stream: () => ReadableStream<Uint8Array>;
182
+ text: () => Promise<string>;
170
183
  }[]>;
171
184
  openFileInput: () => void;
172
185
  }, ("change" | "update:modelValue")[], {
@@ -716,7 +729,7 @@ type HiSwitchProps = typeof switchProps;
716
729
  declare const switchEmits: ("change" | "update:modelValue" | "reject")[];
717
730
  declare const useSwitch: _hoci_shared.HookComponent<{
718
731
  toggle: (value?: any) => void;
719
- modelValue: vue.Ref<boolean> | vue.WritableComputedRef<boolean>;
732
+ modelValue: vue.Ref<boolean, boolean>;
720
733
  className: vue.ComputedRef<string>;
721
734
  isDisabled: vue.ComputedRef<boolean>;
722
735
  activateEvent: vue.ComputedRef<ActivateEvent>;
@@ -773,4 +786,87 @@ declare const useSwitch: _hoci_shared.HookComponent<{
773
786
  modelValue: boolean;
774
787
  }>;
775
788
 
776
- export { AFFIX_TARGET_KEY, type AffixProps, type HiFileUploadProps, type HiFileUploadSlotData, type HiIconProps, type HiItemSlotsData, type HiSelectionContext, type HiSelectionSlotData, type HiSwitchProps, type InitFunction, type Option, type Placement, type SelectionProps, type TriggerEvent, affixEmits, affixProps, configProviderProps, fileUploadEmits, fileUploadProps, iconProps, itemEmits, itemProps, popoverEmits, popoverProps, provideAffixTarget, selectionEmits, selectionProps, switchEmits, switchProps, useAffix, useFileUpload, useIcon, usePopover, useSelectionContext, useSelectionItem, useSelectionList, useSwitch };
789
+ type VirtualizerOptions<TScrollElement extends Element, TItemElement extends Element = Element> = PartialKeys<VirtualizerOptions$1<TScrollElement, TItemElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement" | "initialOffset">;
790
+ declare const virtualListProps: {
791
+ options: {
792
+ type: PropType<PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">>;
793
+ default: () => {};
794
+ };
795
+ count: {
796
+ type: NumberConstructor;
797
+ default: () => 0;
798
+ };
799
+ estimateSize: {
800
+ type: PropType<((index: number) => number) | number>;
801
+ default: () => 50;
802
+ };
803
+ horizontal: {
804
+ type: BooleanConstructor;
805
+ default: () => false;
806
+ };
807
+ };
808
+ declare const virtualListEmits: {
809
+ scrollEnd: () => boolean;
810
+ scrollStart: () => boolean;
811
+ scroll: (_: number[]) => boolean;
812
+ };
813
+ interface VirtualListSlotData extends VirtualItem, Record<string, unknown> {
814
+ style: CSSProperties$1;
815
+ }
816
+
817
+ declare const useVirtualList: _hoci_shared.HookComponent<{
818
+ virtualizer: Virtualizer<HTMLElement, HTMLElement>;
819
+ virtualItems: vue.ComputedRef<VirtualItem[]>;
820
+ virtualIndexes: vue.ComputedRef<number[]>;
821
+ totalSize: vue.ComputedRef<number>;
822
+ scrollElementRef: _hoci_shared.ElementRef<HTMLElement>;
823
+ measureElement: (el: HTMLElement | null) => void;
824
+ scrollToIndex: (index: number, options?: ScrollToOptions) => void;
825
+ scrollToStart: (options?: ScrollToOptions) => void;
826
+ scrollToEnd: (options?: ScrollToOptions) => void;
827
+ }, {
828
+ scrollEnd: () => boolean;
829
+ scrollStart: () => boolean;
830
+ scroll: (_: number[]) => boolean;
831
+ }, {
832
+ options: {
833
+ type: PropType<PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">>;
834
+ default: () => {};
835
+ };
836
+ count: {
837
+ type: NumberConstructor;
838
+ default: () => 0;
839
+ };
840
+ estimateSize: {
841
+ type: PropType<((index: number) => number) | number>;
842
+ default: () => 50;
843
+ };
844
+ horizontal: {
845
+ type: BooleanConstructor;
846
+ default: () => false;
847
+ };
848
+ }, vue.ExtractPropTypes<{
849
+ options: {
850
+ type: PropType<PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">>;
851
+ default: () => {};
852
+ };
853
+ count: {
854
+ type: NumberConstructor;
855
+ default: () => 0;
856
+ };
857
+ estimateSize: {
858
+ type: PropType<((index: number) => number) | number>;
859
+ default: () => 50;
860
+ };
861
+ horizontal: {
862
+ type: BooleanConstructor;
863
+ default: () => false;
864
+ };
865
+ }>, {
866
+ horizontal: boolean;
867
+ count: number;
868
+ estimateSize: number | ((index: number) => number);
869
+ options: PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">;
870
+ }>;
871
+
872
+ export { AFFIX_TARGET_KEY, type AffixProps, type HiFileUploadProps, type HiFileUploadSlotData, type HiIconProps, type HiItemSlotsData, type HiSelectionContext, type HiSelectionSlotData, type HiSwitchProps, type InitFunction, type Option, type Placement, type SelectionProps, type TriggerEvent, type VirtualListSlotData, type VirtualizerOptions, affixEmits, affixProps, configProviderProps, fileUploadEmits, fileUploadProps, iconProps, itemEmits, itemProps, popoverEmits, popoverProps, provideAffixTarget, selectionEmits, selectionProps, switchEmits, switchProps, useAffix, useFileUpload, useIcon, usePopover, useSelectionContext, useSelectionItem, useSelectionList, useSwitch, useVirtualList, virtualListEmits, virtualListProps };