import { Module, PisellCore, ModuleOptions } from '../../types';
import { BaseModule } from '../BaseModule';
import { Account } from './types';
export * from './types';
export declare class AccountModule extends BaseModule implements Module {
    protected defaultName: string;
    protected defaultVersion: string;
    isGuest: boolean;
    private store;
    constructor(name?: string, version?: string);
    initialize(core: PisellCore, options?: ModuleOptions): Promise<void>;
    getId(): string | number;
    login(credentials: {
        username: string;
        password: string;
    }): Promise<void>;
    getCurrentAccount(): Account | null;
    updateProfile(updates: Partial<Account>): Promise<void>;
    isLoggedIn(): boolean;
    getLoginStatus(): boolean;
    getAccount(): Account | null;
    setAccountInfo(account: Account): void;
    setActive(active: boolean): void;
    isActive(): boolean;
    isLogin(): boolean;
}
