import { AxiosError } from 'axios'; import { ICommunication } from 'communication'; import { IView } from 'shared-entities/pagination.entity'; import { PayloadAction } from '@reduxjs/toolkit'; export declare const initialState: { loading: boolean; error: AxiosError; list: { [key: string]: ICommunication; }; view: IView; }; export declare type State = typeof initialState; export declare const communicationSlice: import("@reduxjs/toolkit").Slice<{ loading: boolean; error: AxiosError; list: { [key: string]: ICommunication; }; view: IView; }, { fetchCommunication: (state: State) => void; fetchCommunicationSucceeded: (state: State, action: { payload: { list: { [key: string]: ICommunication; }; view?: IView; }; type: string; }) => void; fetchCommunicationFailed: (state: State, action: PayloadAction) => void; }, "communication">; export declare const fetchCommunication: import("@reduxjs/toolkit").ActionCreatorWithoutPayload, fetchCommunicationFailed: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload, string>, fetchCommunicationSucceeded: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{ list: { [key: string]: ICommunication; }; view?: IView; }, string>; export declare const reducer: import("redux").Reducer<{ loading: boolean; error: AxiosError; list: { [key: string]: ICommunication; }; view: IView; }, import("redux").AnyAction>;