///
import { Preference } from '../themes';
import { History, WithRouter } from '../withRouter';
import { UserInfo } from './userProfile.types';
export interface UserProfileAttributes extends Preference {
loggedIn: boolean;
userInfo?: UserInfo;
darkTopNav?: boolean;
disableThemeToggle?: boolean;
disableCompactToggle?: boolean;
}
export interface UserProfileActions {
logIn(history: History): any;
logOut(user: UserInfo): any;
switchTheme(theme: 'light' | 'dark'): any;
toggleCompact(val: boolean): any;
}
export declare type UserProfileProps = UserProfileAttributes & UserProfileActions & WithRouter;
export declare const UserProfile: (props: UserProfileProps) => JSX.Element;