import { ICommandInstance } from '@midwayjs/command-core'; import { GeneratorSharedOptions } from '../utils'; export interface WebSocketOptions extends GeneratorSharedOptions { /** * @description Import namespace for @midwayjs/ws import * @value ws */ namespace?: string; /** * @description Class identifier, works in controller */ class?: string; } export declare enum WebSocketGeneratorType { SETUP = "setup", Controller = "controller" } export declare const WEB_SOCKET_DEP: string[]; export declare const scriptKey = "start:ws"; export declare const scriptValue = "cross-env NODE_ENV=local midway-bin dev --ts --entryFile=ws-bootstrap.js"; export declare const WriterGenerator: WebSocketGeneratorType[]; export declare const mountWebSocketCommand: () => ICommandInstance; export default function webSocketHandler(...args: unknown[]): Promise; //# sourceMappingURL=websocket.handler.d.ts.map