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> = T extends undefined ? never : T;

declare type __VLS_Prettify<T> = {
    [K in keyof T]: T[K];
} & {};

declare type __VLS_TypePropsToRuntimeProps<T> = {
    [K in keyof T]-?: {} extends Pick<T, K> ? {
        type: PropType<__VLS_NonUndefinedable<T[K]>>;
    } : {
        type: PropType<T[K]>;
        required: true;
    };
};

declare type __VLS_WithDefaults<P, D> = {
    [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
        default: D[K];
    }> : P[K];
};

declare type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};

declare const _default: __VLS_WithTemplateSlots<DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SearchBarProps>, {
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<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SearchBarProps>, {
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 { }
