/// /// import type { BarneoSearchWidgetProps } from "../types"; declare const _default: __VLS_WithTemplateSlots, { config: () => {}; }>>, { clear: () => void; focus: () => void; blur: () => void; search: () => Promise; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { search: (query: string) => void; select: (product: import("../types").SearchProduct, event?: MouseEvent | undefined) => void; "update:modelValue": (value: string) => void; searchResults: (results: import("../types").CatalogSearchResponse) => void; historySelect: (query: string) => void; popularQuerySelect: (query: string) => void; clearHistory: () => void; focus: () => void; blur: () => void; loading: (isLoading: boolean) => void; error: (error: string) => void; noResults: (query: string) => void; input: (value: string) => void; deepSearch: (query: string) => void; }, string, import("vue").PublicProps, Readonly, { config: () => {}; }>>> & Readonly<{ onSearch?: ((query: string) => any) | undefined; onSelect?: ((product: import("../types").SearchProduct, event?: MouseEvent | undefined) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; onSearchResults?: ((results: import("../types").CatalogSearchResponse) => any) | undefined; onHistorySelect?: ((query: string) => any) | undefined; onPopularQuerySelect?: ((query: string) => any) | undefined; onClearHistory?: (() => any) | undefined; onFocus?: (() => any) | undefined; onBlur?: (() => any) | undefined; onLoading?: ((isLoading: boolean) => any) | undefined; onError?: ((error: string) => any) | undefined; onNoResults?: ((query: string) => any) | undefined; onInput?: ((value: string) => any) | undefined; onDeepSearch?: ((query: string) => any) | undefined; }>, { config: import("../types").SearchWidgetConfig; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { "search-input"?(_: { searchQuery: string; config: { placeholder?: string | undefined; debounceMs?: number | undefined; minSearchLength?: number | undefined; darkMode?: boolean | undefined; showClearButton?: boolean | undefined; focus?: boolean | undefined; focusMode?: boolean | undefined; }; handleInput: (event: Event) => void; handleFocus: () => Promise; handleBlur: () => Promise; handleClick: () => Promise; handleSearch: () => Promise; handleClear: () => void; hideSuggestions: () => void; }): any; "search-history"?(_: { historyQueries: string[]; clearHistory: () => Promise; selectHistoryQuery: (query: string) => Promise; deleteHistoryQuery: (query: string) => Promise; isLoading: boolean; }): any; "search-hints"?(_: { productHints: { word: string; hint: string; }[]; fullHints: string[]; selectHint: (hint: import("../types").SearchHint) => Promise; selectHintByFullText: (hint: import("../types").SearchHint) => Promise; selectFullHint: (hint: string) => Promise; isLoading: boolean; }): any; "popular-queries"?(_: { popularQueries: string[]; selectQuery: (query: string) => Promise; isLoading: boolean; }): any; "search-results"?(_: { searchResults: { id: string; name: string; description?: string | undefined; price: number; picture: string | null; url: string | null; vendor_code: string; properties: { name: string; values: { value: string; }[]; }[]; category?: { id: string; name: string; } | null | undefined; classification_properties?: { id: string; name: string; value: { id: string; name: string; }; }[] | undefined; }[]; hasSearchResults: boolean; selectProduct: (product: any, event?: MouseEvent | undefined) => Promise; handleAuxClick: (product: any, event: MouseEvent) => void; formatPrice: (price: number) => string; handleImageError: (event: Event) => void; isLoading: boolean; }): any; "no-results"?(_: { searchQuery: string; hasSearchResults: boolean; searchResults: { id: string; name: string; description?: string | undefined; price: number; picture: string | null; url: string | null; vendor_code: string; properties: { name: string; values: { value: string; }[]; }[]; category?: { id: string; name: string; } | null | undefined; classification_properties?: { id: string; name: string; value: { id: string; name: string; }; }[] | undefined; }[]; isLoading: boolean; }): any; "popular-products"?(_: { popularProducts: { id: string; name: string; description?: string | undefined; price: number; picture: string | null; url: string | null; vendor_code: string; properties: { name: string; values: { value: string; }[]; }[]; category?: { id: string; name: string; } | null | undefined; classification_properties?: { id: string; name: string; value: { id: string; name: string; }; }[] | undefined; }[]; selectProduct: (product: any, event?: MouseEvent | undefined) => Promise; handleAuxClick: (product: any, event: MouseEvent) => void; formatPrice: (price: number) => string; handleImageError: (event: Event) => void; hasSearchResults: boolean; searchResults: { id: string; name: string; description?: string | undefined; price: number; picture: string | null; url: string | null; vendor_code: string; properties: { name: string; values: { value: string; }[]; }[]; category?: { id: string; name: string; } | null | undefined; classification_properties?: { id: string; name: string; value: { id: string; name: string; }; }[] | undefined; }[]; isLoading: boolean; }): any; loading?(_: { isLoading: boolean; }): any; error?(_: { error: string; }): any; }>; export default _default; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: import('vue').PropType<__VLS_NonUndefinedable>; } : { type: import('vue').PropType; required: true; }; }; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; }; //# sourceMappingURL=BarneoSearchWidget.vue.d.ts.map