import { IUserManager } from "./Interface"

export type UserManagerIfc = {
    UserManager: {
        checkToken: IUserManager['checkToken']
        login: IUserManager['login']
        logout: IUserManager['logout']
        createUser: IUserManager['createUser']
        getAuth: IUserManager['getAuth']
        getUser: IUserManager['getUser']
    }
}

export type UserManagerFeatureIfc = {
    modifyPermissions: {
        setPermission: IUserManager['setPermission']
        getPermissions: IUserManager['getPermissions']
        changeRank: IUserManager['changeRank']
    }

    softreserveCurrency: {
        incrementCurrency: IUserManager['incrementCurrency']
        decrementCurrency: IUserManager['decrementCurrency']
        setCurrency: IUserManager['setCurrency']
    }
}
