import { Item, Props, Size, Slots } from '../../formsExt/selector2/types';
import { Props } from './types';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ShallowUnwrapRef, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue';
import { Props } from '../../forms/button/types';
import { TopLibPopup } from '../../popup/lib/popup';
import { OnCleanup } from '@vue/reactivity';
type __VLS_Props = Props;
type __VLS_PublicProps = {
    'project'?: NonNullable<Props['project']>;
} & __VLS_Props;
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
    "update:project": (value: Item) => any;
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
    "onUpdate:project"?: ((value: Item) => any) | undefined;
}>, {
    addLinksToProjects: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {
    refSelector: ({
        $: ComponentInternalInstance;
        $data: {};
        $props: {
            readonly modelValue: Props["modelValue"];
            readonly items?: Item[] | undefined;
            readonly title?: string | undefined;
            readonly disabled?: boolean | undefined;
            readonly icon?: string | undefined;
            readonly modificator?: string | undefined;
            readonly size?: Size | undefined;
            readonly isError?: boolean | undefined;
            readonly openByFocusInput?: boolean | undefined;
            readonly searchType?: "none" | "inline" | "popup" | undefined;
            readonly searchFields?: string[] | undefined;
            readonly placeholder?: string | undefined;
            readonly hasCloserBtn?: boolean | undefined;
            readonly api?: (Api.ClientRequest<any> | Api.ClientRequestCustom<any, any, any>) | undefined;
            readonly apiSetSearchParams?: ((api: NonNullable< Props["api"]>, search: string) => void) | undefined;
            readonly minLength?: number | undefined;
            readonly useCache?: boolean | undefined;
            readonly appendSearchToResult?: boolean | undefined;
            readonly appendSearchAllowDuplicate?: boolean | undefined;
            readonly appendSearchToResultCond?: ((search: string) => boolean) | undefined;
            readonly appendWithoutSelect?: boolean | undefined;
            readonly multiselect?: boolean | undefined;
            readonly useAllItem?: boolean | string | undefined;
            readonly addChanger?: boolean | undefined;
            readonly buttonProps?: Props | undefined;
            readonly selectedAsPlaceholder?: boolean | undefined;
            readonly openerShortcut?: string | undefined;
            readonly onOpen?: (() => any) | undefined;
            readonly "onUpdate:modelValue"?: ((value: Item | Item[]) => any) | undefined;
            readonly onAppendItem?: ((item: Item) => any) | undefined;
        } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
        $attrs: {
            [x: string]: unknown;
        };
        $refs: {
            [x: string]: unknown;
        } & {
            popupRef: ShallowUnwrapRef<{
                id: string;
                popup: TopLibPopup<undefined> | undefined;
            }> | null;
        };
        $slots: Readonly<{
            [name: string]: Slot<any> | undefined;
        }>;
        $root: ComponentPublicInstance | null;
        $parent: ComponentPublicInstance | null;
        $host: Element | null;
        $emit: ((event: "open") => void) & ((event: "update:modelValue", value: Item | Item[]) => void) & ((event: "appendItem", item: Item) => void);
        $el: any;
        $options: ComponentOptionsBase<Readonly<{
            modelValue: Props["modelValue"];
        } & Props> & Readonly<{
            onOpen?: (() => any) | undefined;
            "onUpdate:modelValue"?: ((value: Item | Item[]) => any) | undefined;
            onAppendItem?: ((item: Item) => any) | undefined;
        }>, {
            resetCache: (resetAPICache?: boolean) => void;
        }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
            open: () => any;
            "update:modelValue": (value: Item | Item[]) => any;
            appendItem: (item: Item) => any;
        }, string, {
            size: Size;
            openByFocusInput: boolean;
            items: Item[];
            searchFields: string[];
            searchType: "none" | "inline" | "popup";
            minLength: number;
        }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
            beforeCreate?: (() => void) | (() => void)[];
            created?: (() => void) | (() => void)[];
            beforeMount?: (() => void) | (() => void)[];
            mounted?: (() => void) | (() => void)[];
            beforeUpdate?: (() => void) | (() => void)[];
            updated?: (() => void) | (() => void)[];
            activated?: (() => void) | (() => void)[];
            deactivated?: (() => void) | (() => void)[];
            beforeDestroy?: (() => void) | (() => void)[];
            beforeUnmount?: (() => void) | (() => void)[];
            destroyed?: (() => void) | (() => void)[];
            unmounted?: (() => void) | (() => void)[];
            renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
            renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
            errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
        };
        $forceUpdate: () => void;
        $nextTick: nextTick;
        $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
    } & Readonly<{
        size: Size;
        openByFocusInput: boolean;
        items: Item[];
        searchFields: string[];
        searchType: "none" | "inline" | "popup";
        minLength: number;
    }> & Omit<Readonly<{
        modelValue: Props["modelValue"];
    } & Props> & Readonly<{
        onOpen?: (() => any) | undefined;
        "onUpdate:modelValue"?: ((value: Item | Item[]) => any) | undefined;
        onAppendItem?: ((item: Item) => any) | undefined;
    }>, "resetCache" | ("size" | "openByFocusInput" | "items" | "searchFields" | "searchType" | "minLength")> & ShallowUnwrapRef<{
        resetCache: (resetAPICache?: boolean) => void;
    }> & {} & ComponentCustomProperties & {} & {
        $slots: Readonly< Slots> & Slots;
    }) | null;
}, any>;
export default _default;
