import { PayloadAction } from '@reduxjs/toolkit';
/**
 * CompetitorsMap Type
 */
export type CompetitorMapItem = {
    index: number;
    id: string;
    position: number;
    rating: number;
    reviewsCount: number;
    imageUrl?: string;
    categoryName?: string;
    formattedAddress?: string;
    cityName?: string;
    lat: number;
    lng: number;
    companyName: string;
    isOwnLocation: boolean;
};
export type CompetitorsMapType = {
    competitors: CompetitorMapItem[];
    ownBusiness?: CompetitorMapItem;
    hoveredCompetitorIndex: number;
    clickedCompetitorIndex: number;
};
/**
 * Exports
 */
export declare const CompetitorsMapSlice: import('@reduxjs/toolkit').CaseReducerActions<{
    setHoveredCompetitor: (state: import('immer/dist/internal.js').WritableDraft<CompetitorsMapType>, { payload }: PayloadAction<{
        index: number;
        hovered: boolean;
    }>) => void;
    setClickedCompetitor: (state: import('immer/dist/internal.js').WritableDraft<CompetitorsMapType>, { payload }: PayloadAction<{
        index: number;
    }>) => void;
    setCompetitors: (state: import('immer/dist/internal.js').WritableDraft<CompetitorsMapType>, { payload }: {
        payload: number | CompetitorMapItem | CompetitorMapItem[];
        type: string;
    }) => void;
    setOwnBusiness: (state: import('immer/dist/internal.js').WritableDraft<CompetitorsMapType>, { payload }: {
        payload: number | CompetitorMapItem | CompetitorMapItem[];
        type: string;
    }) => void;
    setHoveredCompetitorIndex: (state: import('immer/dist/internal.js').WritableDraft<CompetitorsMapType>, { payload }: {
        payload: number | CompetitorMapItem | CompetitorMapItem[];
        type: string;
    }) => void;
    setClickedCompetitorIndex: (state: import('immer/dist/internal.js').WritableDraft<CompetitorsMapType>, { payload }: {
        payload: number | CompetitorMapItem | CompetitorMapItem[];
        type: string;
    }) => void;
    setAll: (state: import('immer/dist/internal.js').WritableDraft<CompetitorsMapType>, { payload }: {
        payload: Partial<CompetitorsMapType>;
        type: string;
    }) => void;
    resetState: (state: import('immer/dist/internal.js').WritableDraft<CompetitorsMapType>) => void;
}>;
export declare const CompetitorsMapReducer: import('redux').Reducer<CompetitorsMapType>;
