import { KuzzleRequest } from "../request"; import { NativeController } from "./baseController"; /** * @class DebugController */ export declare class DebugController extends NativeController { constructor(); /** * Return the node version of the current Kuzzle instance */ nodeVersion(): Promise; /** * Connect the debugger */ enable(): Promise; /** * Disconnect the debugger and clears all the events listeners */ disable(): Promise; /** * Trigger action from debugger directly following the Chrome Debug Protocol * See: https://chromedevtools.github.io/devtools-protocol/v8/ */ post(request: KuzzleRequest): Promise; /** * Make the websocket connection listen and receive events from Chrome Debug Protocol * See events from: https://chromedevtools.github.io/devtools-protocol/v8/ */ addListener(request: KuzzleRequest): Promise; /** * Remove the websocket connection from the events' listeners */ removeListener(request: KuzzleRequest): Promise; }