export = EntryPoint; declare class EntryPoint { config: import("../../..").ServerConfiguration; protocols: Map; _clients: Map; accessLogger: AccessLogger; isShuttingDown: boolean; logger: import("../../kuzzle/Logger").Logger; dispatch(event: any, data: any): void; /** * Initializes the InternalProtocol first to allow subscriptions * in plugins init() method. * * @returns {Promise} */ init(): Promise; /** * Starts the network protocols. * Every protocol is listening for request after this call * * @returns {Promise} */ startListening(): Promise; /** * On client subscribing to a channel, dispatch the information * to the protocol. * * @param {string} channel * @param {string} connectionId */ joinChannel(channel: string, connectionId: string): void; leaveChannel(channel: any, connectionId: any): void; /** * Loads installed protocols in memory */ loadMoreProtocols(): Promise; /** * @param {ClientConnection} connection * @param {Request} request * @param {object} extra */ logAccess(connection: ClientConnection, request: Request, extra?: object): void; /** * @param {ClientConnection} connection * @param {Request} request * @param cb */ execute(connection: ClientConnection, request: Request, cb: any): void; /** * * @param {ClientConnection} connection */ newConnection(connection: ClientConnection): void; /** * @param {string} connectionId */ removeConnection(connectionId: string): void; _broadcast(data: any): void; _isShuttingDownError(connection: any, request: any, cb: any): void; _notify(data: any): void; } import { AccessLogger } from "./accessLogger";