import { ActionPayload } from './action-payload'; export interface UserData { username?: string; picture?: string; badge?: string; role?: number; roleName?: string; commitment: number; isLoggedIn: boolean; } export declare const initialState: UserData; export interface UserState { username?: string; commitment?: number; role?: number; roleName?: string; picture?: string; badge?: string; isLoggedIn?: boolean; } export declare const userDataSlice: import("@reduxjs/toolkit").Slice, action: ActionPayload): void; }, "userData">; export declare const setUserData: import("@reduxjs/toolkit").ActionCreatorWithNonInferrablePayload; export declare const userData: (state: any) => UserData; declare const _default: import("redux").Reducer; export default _default;