import { VoiceConnection } from "@discordjs/voice"; import { Client } from "discord.js"; import { SpeechOptions, SpeechRecognition } from "../speechOptions"; declare module "discord.js" { interface ClientEvents { /** * This event is emitted when speech recognition is attached to voice connection */ voiceJoin: [connection: VoiceConnection | undefined]; } } declare const _default: (client: Client, speechOptions: SpeechOptions) => void; export default _default;