import { User } from "../../models/index"; import { AuthService } from "./auth/AuthService"; import { ApiService } from './ApiService'; import { Subject } from 'rxjs'; export declare class UserService { private api; currentUserId: string; hasCurrentUser(): any; currentUser: User; currentUserObservable: Subject; constructor(api: ApiService, auth: AuthService); private _usersObservableCache; private _usersCache; isCurrentUser(user: User): boolean; getById(id: any): Subject; removeRightsForObject(userId: any, objectId: any): any; addRightsForObject(userId: any, objectId: any): any; requestById(id: any, filter?: any): any; requestUserExtra(id: any): any; requestIds(allIds: any): void; getUserIdentitiesById(id: any): any; get({where, order, offset, fields}: { where: any; order?: string; offset?: number; fields?: {}; }): any; put(data: any): any; count(where?: any): any; private _setUser(data); }