import { Plugin } from 'vue'; import { ProviderConfig } from './providers/types.js'; export type VueSpeechOptions = ProviderConfig & { /** * When `true`, registers `VueSpeechPlayer`, `VueSpeechRecorder`, and * `VueSpeechVoiceSelect` as global components. * * Default: `false` — import components individually for tree-shaking (I-7.3). */ components?: boolean; }; /** * Vue 3 plugin. Provides a `TTSProvider` to all descendant components via * `SPEECH_PROVIDER_KEY`, allowing `useSpeechSynthesis()` to receive the * configured provider through Vue's injection system. * * @example * ```ts * // main.ts * import { createApp } from 'vue' * import { VueSpeech } from 'vue-text-to-speech' * * createApp(App) * .use(VueSpeech, { provider: 'web' }) * .mount('#app') * ``` */ export declare const VueSpeech: Plugin;