import { User } from "@rtcts/isomorphic"; import { Config } from "../app/Config"; import { UserModel } from "../model/UserModel"; import { Channels } from "../webSocket/Channels"; import { HttpTransport, HttpTransportACL } from "./HttpTransport"; export interface UserHttpTransportACL extends HttpTransportACL { readonly updateLogin: string[]; readonly updatePassword: string[]; readonly updateGroup: string[]; readonly signUp: string[]; readonly signOut: string[]; } export declare class UserHttpTransport, ENTITY extends User, CONFIG extends Config = Config, CHANNELS extends Channels = Channels> extends HttpTransport { protected readonly ACL: UserHttpTransportACL; protected readonly switchers: { readonly getList: boolean; readonly getItem: boolean; readonly create: boolean; readonly update: boolean; readonly remove: boolean; readonly channel: boolean; readonly updateLogin: boolean; readonly updatePassword: boolean; readonly updateGroup: boolean; readonly signUp: boolean; readonly signOut: boolean; }; constructor(name: string, Entity: new (data?: any) => ENTITY, model: MODEL, channels: CHANNELS, ACL?: UserHttpTransportACL, switchers?: { getList: boolean; getItem: boolean; create: boolean; update: boolean; remove: boolean; channel: boolean; updateLogin: boolean; updatePassword: boolean; updateGroup: boolean; signUp: boolean; signOut: boolean; }); protected update(): void; protected current(): void; protected signIn(): void; protected signUp(): void; protected create(): void; protected signOut(): void; protected updateLogin(): void; protected updatePassword(): void; protected updateGroup(): void; }