import { Socket } from "socket.io"; import { ExtendedError } from "socket.io/dist/namespace"; export declare const authorize: (jwt_secret: string) => (socket: Socket, next: (err?: ExtendedError | undefined) => void) => void;