import { ComponentOptionsMixin } from 'vue'; import { ComponentProvideOptions } from 'vue'; import { DefineComponent } from 'vue'; import { ExtractPropTypes } from 'vue'; import { PropType } from 'vue'; import { PublicProps } from 'vue'; declare type __VLS_NonUndefinedable = T extends undefined ? never : T; declare type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; declare type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; declare type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; declare type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; }; declare const _default: __VLS_WithTemplateSlots, { isLoading: boolean; isWorking: boolean; modelValue: string; placeholder: any; label: any; hintText: undefined; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { search: (searchTerm: string) => void; "update:model-value": (searchTerm: string) => void; }, string, PublicProps, Readonly, { isLoading: boolean; isWorking: boolean; modelValue: string; placeholder: any; label: any; hintText: undefined; }>>> & Readonly<{ onSearch?: ((searchTerm: string) => any) | undefined; "onUpdate:model-value"?: ((searchTerm: string) => any) | undefined; }>, { label: string; placeholder: string; isLoading: boolean; hintText: string; modelValue: string; isWorking: boolean; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, { hint?(_: {}): any; }>; export default _default; export declare interface SearchBarProps { /** * Indicates loading activity (for example async request) that should prevent search */ isLoading?: boolean; /** * Sets a visual indicator that the search is active */ isWorking?: boolean; /** * The search term */ modelValue?: string; /** * Placeholder text for the input */ placeholder?: string; /** * Label for search bar */ label?: string; /** * Text below the input */ hintText?: string; } export { }