/// <reference types="bun-types" />
/// <reference types="bun-types" />
import { ServerWebSocket } from 'bun';
import BaseSocketHandler from './BaseSocketHandler';
export default class WebSocketServer {
    static socketHandlers: Array<{
        path: string;
        handler: BaseSocketHandler;
    }>;
    static init(port: number | undefined, dir: string, folder?: string): Array<{
        path: string;
        handler: BaseSocketHandler;
    }>;
    /**
     *
     * @returns
     */
    static getSocketHandlers(): Array<{
        path: string;
        handler: BaseSocketHandler;
    }>;
    /**
     *
     * @param path
     * @returns
     */
    static getHandler(path: string): ServerWebSocket | null;
}
//# sourceMappingURL=WebSocketServer.d.ts.map