import { EpPropMergeType } from "../../../utils/vue/props/types.js"; import { TooltipInstance } from "../../tooltip/src/tooltip.js"; import { ScrollbarDirection, ScrollbarInstance } from "../../scrollbar/src/scrollbar.js"; import { SelectEmits, SelectProps } from "./select.js"; import { OptionBasic, OptionPublicInstance, OptionValue, SelectStates } from "./type.js"; import { Component } from "vue"; //#region ../../packages/components/select/src/useSelect.d.ts declare const useSelect: (props: SelectProps, emit: SelectEmits) => { inputId: import("vue").Ref; contentId: import("vue").Ref; nsSelect: { namespace: import("vue").ComputedRef; b: (blockSuffix?: string) => string; e: (element?: string) => string; m: (modifier?: string) => string; be: (blockSuffix?: string, element?: string) => string; em: (element?: string, modifier?: string) => string; bm: (blockSuffix?: string, modifier?: string) => string; bem: (blockSuffix?: string, element?: string, modifier?: string) => string; is: { (name: string, state: boolean | undefined): string; (name: string): string; }; cssVar: (object: Record) => Record; cssVarName: (name: string) => string; cssVarBlock: (object: Record) => Record; cssVarBlockName: (name: string) => string; }; nsInput: { namespace: import("vue").ComputedRef; b: (blockSuffix?: string) => string; e: (element?: string) => string; m: (modifier?: string) => string; be: (blockSuffix?: string, element?: string) => string; em: (element?: string, modifier?: string) => string; bm: (blockSuffix?: string, modifier?: string) => string; bem: (blockSuffix?: string, element?: string, modifier?: string) => string; is: { (name: string, state: boolean | undefined): string; (name: string): string; }; cssVar: (object: Record) => Record; cssVarName: (name: string) => string; cssVarBlock: (object: Record) => Record; cssVarBlockName: (name: string) => string; }; states: { inputValue: string; options: Map, OptionPublicInstance> & Omit, OptionPublicInstance>, keyof Map>; cachedOptions: Map, OptionPublicInstance> & Omit, OptionPublicInstance>, keyof Map>; optionValues: OptionValue[]; selected: { index: number; value: OptionValue; currentLabel: OptionPublicInstance["currentLabel"]; isDisabled?: OptionPublicInstance["isDisabled"] | undefined; }[]; hoveringIndex: number; inputHovering: boolean; selectionWidth: number; collapseItemWidth: number; previousQuery: string | null; selectedLabel: string; menuVisibleOnFocus: boolean; isBeforeHide: boolean; }; isFocused: import("vue").Ref; expanded: import("vue").Ref; optionsArray: import("vue").ComputedRef; hoverOption: import("vue").Ref; selectSize: import("vue").ComputedRef<"" | "default" | "small" | "large">; filteredOptionsCount: import("vue").ComputedRef; updateTooltip: () => void; updateTagTooltip: () => void; debouncedOnInputChange: import("@vueuse/core").UseDebounceFnReturn<() => void>; onInput: (event: Event) => void; deletePrevTag: (e: KeyboardEvent) => void; deleteTag: (event: MouseEvent, tag: OptionBasic) => void; deleteSelected: (event: Event) => void; handleOptionSelect: (option: OptionPublicInstance) => void; scrollToOption: (option: OptionPublicInstance | OptionPublicInstance[] | SelectStates["selected"]) => void; hasModelValue: import("vue").ComputedRef; shouldShowPlaceholder: import("vue").ComputedRef; currentPlaceholder: import("vue").ComputedRef; mouseEnterEventName: string | null; needStatusIcon: import("vue").ComputedRef; showClearBtn: import("vue").ComputedRef; iconComponent: import("vue").ComputedRef (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>; iconReverse: import("vue").ComputedRef; validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">; validateIcon: import("vue").ComputedRef<"" | Component>; showNewOption: import("vue").ComputedRef; updateOptions: () => void; collapseTagSize: import("vue").ComputedRef<"default" | "small">; setSelected: () => void; selectDisabled: import("vue").ComputedRef; selectViewMode: import("vue").ComputedRef; selectTableInput: import("vue").ComputedRef; emptyText: import("vue").ComputedRef; handleCompositionStart: (event: CompositionEvent) => void; handleCompositionUpdate: (event: CompositionEvent) => void; handleCompositionEnd: (event: CompositionEvent) => void; handleKeydown: (e: KeyboardEvent) => void; onOptionCreate: (vm: OptionPublicInstance) => void; onOptionDestroy: (key: OptionValue, vm: OptionPublicInstance) => void; handleMenuEnter: () => void; focus: () => void; blur: () => void; handleClearClick: (event: Event) => void; handleClickOutside: (event: Event) => void; handleEsc: () => void; toggleMenu: (event?: Event) => void; selectOption: () => void; getValueKey: (item: OptionPublicInstance | SelectStates["selected"][0]) => any; navigateOptions: (direction: "prev" | "next") => void; dropdownMenuVisible: import("vue").WritableComputedRef; showTagList: import("vue").ComputedRef<{ index: number; value: OptionValue; currentLabel: OptionPublicInstance["currentLabel"]; isDisabled?: OptionPublicInstance["isDisabled"] | undefined; }[]>; collapseTagList: import("vue").ComputedRef<{ index: number; value: OptionValue; currentLabel: OptionPublicInstance["currentLabel"]; isDisabled?: OptionPublicInstance["isDisabled"] | undefined; }[]>; popupScroll: (data: { scrollTop: number; scrollLeft: number; }) => void; getOption: (value: OptionValue) => any; endReached: (direction: ScrollbarDirection) => void; tagStyle: import("vue").ComputedRef<{ maxWidth: string; }>; collapseTagStyle: import("vue").ComputedRef<{ maxWidth: string; }>; popperRef: import("vue").ComputedRef; inputRef: import("vue").Ref; tooltipRef: import("vue").Ref; tagTooltipRef: import("vue").Ref; prefixRef: import("vue").Ref; suffixRef: import("vue").Ref; selectRef: import("vue").Ref; wrapperRef: import("vue").ShallowRef; selectionRef: import("vue").Ref; scrollbarRef: import("vue").Ref; menuRef: import("vue").Ref; tagMenuRef: import("vue").Ref; collapseItemRef: import("vue").Ref; }; //#endregion export { useSelect };