import { Entity, User } from "@rtcts/isomorphic"; import { Model } from "../model/Model"; import { Channels } from "../webSocket/Channels"; import { BaseHttpTransport, BaseHttpTransportACL } from "./BaseHttpTransport"; export interface HttpTransportACL extends BaseHttpTransportACL { readonly getList: string[]; readonly getItem: string[]; readonly create: string[]; readonly remove: string[]; readonly update: string[]; } export declare class HttpTransport, ENTITY extends Entity, USER extends User, CHANNELS extends Channels = Channels> extends BaseHttpTransport { protected readonly Entity: new (data: any) => ENTITY; protected readonly model: MODEL; protected readonly ACL: HttpTransportACL; protected readonly switchers: { readonly getList: boolean; readonly getItem: boolean; readonly create: boolean; readonly update: boolean; readonly remove: boolean; readonly channel: boolean; }; constructor(name: string, Entity: new (data?: any) => ENTITY, model: MODEL, channels: CHANNELS, ACL: HttpTransportACL, switchers: { getList: boolean; getItem: boolean; create: boolean; update: boolean; remove: boolean; channel: boolean; } | undefined, User: new (data?: any) => USER); protected getList(): void; protected getItem(): void; protected create(): void; protected update(): void; protected remove(): void; }