import { Item } from '../../formsExt/selector2/types';
import { ShallowRef, Ref } from 'vue';
/**
 * Кеш списка проектов
 *
 * Используется только при `dataSource` = `static`
 * Данные синхронизируются между всеми экземплярами ProjectSelector
 */
export declare const projectsCache: ShallowRef<Item[] | undefined, Item[] | undefined>;
export declare const resetStateSignal: Ref<number, number>;
/**
 * Promise текущего выполняющегося запроса на получение проектов.
 *
 * Используется для дедупликации запросов: если запрос уже запущен, повторные вызовы будут ждать один и тот же Promise.
 */
export declare const projectsRequest: Ref<{
    then: <TResult1 = Api.ResponseError<any> | Api.ResponseSuccess<any, "get">, TResult2 = never>(onfulfilled?: ((value: Api.ResponseError<any> | Api.ResponseSuccess<any, "get">) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
    catch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<Api.ResponseError<any> | Api.ResponseSuccess<any, "get"> | TResult>;
    finally: (onfinally?: (() => void) | null | undefined) => Promise<Api.ResponseError<any> | Api.ResponseSuccess<any, "get">>;
    readonly [Symbol.toStringTag]: string;
} | null, Promise<Api.ResponseError<any> | Api.ResponseSuccess<any, "get">> | {
    then: <TResult1 = Api.ResponseError<any> | Api.ResponseSuccess<any, "get">, TResult2 = never>(onfulfilled?: ((value: Api.ResponseError<any> | Api.ResponseSuccess<any, "get">) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
    catch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<Api.ResponseError<any> | Api.ResponseSuccess<any, "get"> | TResult>;
    finally: (onfinally?: (() => void) | null | undefined) => Promise<Api.ResponseError<any> | Api.ResponseSuccess<any, "get">>;
    readonly [Symbol.toStringTag]: string;
} | null>;
export declare const setCache: (userId: number, projectsTotal: number) => void;
export declare const getCache: (userId: number) => number | undefined;
export declare const clearCache: (userId: number, resetState?: boolean) => void;
