import WebSocket from 'ws'; import { Internal } from '../utils/types'; declare type Reload = { type: 'reload'; file: string; }; declare type ComponentChange = { type: 'componentChange'; file: string; }; declare type PublicCssChange = { type: 'publicCssChange'; file: string; }; declare type OtherCssFile = { type: 'otherCssFile'; file: string; }; export declare type WSData = Reload | ComponentChange | PublicCssChange | OtherCssFile; export default function getWebsocket($$internal: Pick, debug: boolean): { send: (data: WSData) => void; wss: WebSocket.Server; }; export {};