import { InstantItemsCache, InstantItemsState } from './instant-items-state.js';
type InstantItemsStateWithCache = InstantItemsState<Record<string, InstantItemsCache & {
    error: unknown;
}>>;
export declare const registerInstantItem: (payload: {
    id: string;
}, state: InstantItemsStateWithCache) => InstantItemsStateWithCache | undefined;
export declare const updateInstantItemQuery: (payload: {
    q: string;
    id: string;
}, state: InstantItemsStateWithCache) => void;
export declare const clearExpiredItems: (payload: {
    id: string;
}, state: InstantItemsStateWithCache) => void;
export declare const fetchItemsPending: (payload: {
    id: string;
    q: string;
}, state: InstantItemsStateWithCache, toSetEmptyIfNotFound: Record<string, unknown>) => void;
export declare const fetchItemsFulfilled: (payload: {
    id: string;
    q: string;
    searchUid: string;
    cacheTimeout?: number;
    totalCountFiltered: number;
    duration: number;
}, state: InstantItemsStateWithCache, toAddToCache: Record<string, unknown>) => void;
export declare const fetchItemsRejected: (payload: {
    id: string;
    q: string;
    error?: unknown;
}, state: InstantItemsStateWithCache) => void;
export {};
