import { VoiceConnection } from "@discordjs/voice"; import { Client, Guild } 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, guild: Guild) => void; export default _default;