import { type AnyAction, type Reducer } from 'redux'; import type { AuthenticationState } from './types/index.js'; export declare const INITIAL_STATE: AuthenticationState; export declare const login: (state?: any, action?: { type?: string | undefined; payload?: { error?: import("@farfetch/blackout-client").BlackoutError | undefined; result?: unknown; } | undefined; }) => any; export declare const socialLogin: (state?: any, action?: { type?: string | undefined; payload?: { error?: import("@farfetch/blackout-client").BlackoutError | undefined; result?: unknown; } | undefined; }) => any; export declare const logout: (state?: any, action?: { type?: string | undefined; payload?: { error?: import("@farfetch/blackout-client").BlackoutError | undefined; result?: unknown; } | undefined; }) => any; export declare const register: (state?: any, action?: { type?: string | undefined; payload?: { error?: import("@farfetch/blackout-client").BlackoutError | undefined; result?: unknown; } | undefined; }) => any; export declare const changePassword: (state?: any, action?: { type?: string | undefined; payload?: { error?: import("@farfetch/blackout-client").BlackoutError | undefined; result?: unknown; } | undefined; }) => any; export declare const resetPassword: (state?: any, action?: { type?: string | undefined; payload?: { error?: import("@farfetch/blackout-client").BlackoutError | undefined; result?: unknown; } | undefined; }) => any; export declare const recoverPassword: (state?: any, action?: { type?: string | undefined; payload?: { error?: import("@farfetch/blackout-client").BlackoutError | undefined; result?: unknown; } | undefined; }) => any; export declare const validateEmail: (state?: any, action?: { type?: string | undefined; payload?: { error?: import("@farfetch/blackout-client").BlackoutError | undefined; result?: unknown; } | undefined; }) => any; export declare const refreshEmailToken: (state?: any, action?: { type?: string | undefined; payload?: { error?: import("@farfetch/blackout-client").BlackoutError | undefined; result?: unknown; } | undefined; }) => any; export declare const token: (state: import("./types/state.types.js").TokenState | undefined, action: AnyAction) => AuthenticationState['token']; export declare const externalLogins: (state: { result: import("@farfetch/blackout-client").ExternalLogin[] | null; error: import("@farfetch/blackout-client").BlackoutError | null; isLoading: boolean; } | undefined, action: AnyAction) => AuthenticationState['externalLogins']; export declare const getLogin: (state: AuthenticationState) => { error: import("@farfetch/blackout-client").BlackoutError | null; isLoading: boolean; }; export declare const getLogout: (state: AuthenticationState) => { error: import("@farfetch/blackout-client").BlackoutError | null; isLoading: boolean; }; export declare const getRegister: (state: AuthenticationState) => { error: import("@farfetch/blackout-client").BlackoutError | null; isLoading: boolean; }; export declare const getChangePassword: (state: AuthenticationState) => { error: import("@farfetch/blackout-client").BlackoutError | null; isLoading: boolean; }; export declare const getResetPassword: (state: AuthenticationState) => { error: import("@farfetch/blackout-client").BlackoutError | null; isLoading: boolean; }; export declare const getRecoverPassword: (state: AuthenticationState) => { error: import("@farfetch/blackout-client").BlackoutError | null; isLoading: boolean; }; export declare const getValidateEmail: (state: AuthenticationState) => { error: import("@farfetch/blackout-client").BlackoutError | null; isLoading: boolean; }; export declare const getRefreshEmailToken: (state: AuthenticationState) => { error: import("@farfetch/blackout-client").BlackoutError | null; isLoading: boolean; }; export declare const getToken: (state: AuthenticationState) => import("./types/state.types.js").TokenState; export declare const getExternalLogins: (state: AuthenticationState) => { result: import("@farfetch/blackout-client").ExternalLogin[] | null; error: import("@farfetch/blackout-client").BlackoutError | null; isLoading: boolean; }; /** * Reducer for authentication state. * * @param state - Current redux state. * @param action - Action dispatched. * * @returns New state. */ declare const authenticationReducer: Reducer; export default authenticationReducer;