import { AxiosError } from 'axios'; import { IAppState } from 'store/store.entity'; import { IFetchValidateCredentialSucceeded } from '../actions-types/auth.action.types'; declare const initialState: { token: string; loading: boolean; error: AxiosError; impersonateToken: string; impersonateLoading: boolean; }; export declare type AuthState = typeof initialState; export declare const tokenSelector: (state: IAppState) => string; export declare const impersonateTokenSelector: (state: IAppState) => string; export declare const loadingSelector: (state: IAppState) => boolean; export declare const errorSelector: (state: IAppState) => AxiosError; export declare const fetchLogout: import("@reduxjs/toolkit").ActionCreatorWithoutPayload, fetchValidateCredential: import("@reduxjs/toolkit").ActionCreatorWithoutPayload, fetchValidateCredentialSucceeded: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload, fetchValidateCredentialFailed: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload, string>, fetchImpersonate: import("@reduxjs/toolkit").ActionCreatorWithoutPayload, fetchImpersonateFailed: import("@reduxjs/toolkit").ActionCreatorWithPayload, fetchImpersonateSucceeded: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{ impersonateToken: string; }, string>; export declare const authReducer: import("redux").Reducer<{ token: string; loading: boolean; error: AxiosError; impersonateToken: string; impersonateLoading: boolean; }, import("redux").AnyAction>; export {};