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