class ServerEvent<ConnectArgs, CallArgs> {
constructor(name: string, middleware?: Middleware);
GetInstance(): RemoteEvent;
Connect(callback: (player: Player, ...args: ConnectArgs) => void): RBXScriptConnection;
SendToAllPlayers(...args: CallArgs): void;
SendToAllPlayersExcept(blacklist: Player | Player[], ...args: CallArgs): void;
SendToPlayer(player: Player, ...args: CallArgs): void;
SendToPlayers(players: Player[], ...args: CallArgs): void;
}