import type { BooleanFilter, Suggestion } from '@empathyco/x-types'; import type { PropType } from 'vue'; import type { QueryFeature } from '../../types'; import type { VueCSSClasses } from '../../utils/types'; import type { XEventsTypes } from '../../wiring/events.types'; /** * Renders a button with a default slot. It receives a query, which should be the query of the * module using this component, a suggestion, the {@link XEvent} that will be emitted * on click with a given feature. * * The default slot receives the suggestion and the matched query has props. * * @public */ declare const _default: import("vue").DefineComponent; required: true; }; /** * The feature from which the events will be emitted. * * @public */ feature: { type: PropType; }; /** * The {@link XEvent} that will be emitted when selecting a suggestion. * * @public */ suggestionSelectedEvents: { type: PropType>; required: true; }; /** * Indicates if the curated suggestion should be highlighted. * * @public */ highlightCurated: { type: BooleanConstructor; }; }>, { el: import("vue").Ref; filter: import("vue").ComputedRef; emitEvents: () => void; dynamicCSSClasses: import("vue").ComputedRef; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; required: true; }; /** * The feature from which the events will be emitted. * * @public */ feature: { type: PropType; }; /** * The {@link XEvent} that will be emitted when selecting a suggestion. * * @public */ suggestionSelectedEvents: { type: PropType>; required: true; }; /** * Indicates if the curated suggestion should be highlighted. * * @public */ highlightCurated: { type: BooleanConstructor; }; }>> & Readonly<{}>, { query: string; highlightCurated: boolean; }, {}, { Highlight: import("vue").DefineComponent<{}, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default; //# sourceMappingURL=base-suggestion.vue?vue&type=script&lang.d.ts.map