import { WsState } from './types'; export default function onClose(self: WsState): () => void;