import type pino from "pino";
import type { SpeechStreamResult, TextToSpeechProvider } from "../../../speech-provider.js";
export type SherpaTtsPreset = "kokoro-en-v0_19" | "kitten-nano-en-v0_1-fp16";
export type SherpaTtsConfig = {
    preset: SherpaTtsPreset;
    modelDir: string;
    speakerId?: number;
    speed?: number;
    lengthScale?: number;
    numThreads?: number;
};
export declare class SherpaOnnxTTS implements TextToSpeechProvider {
    private readonly tts;
    private readonly speakerId;
    private readonly speed;
    private readonly logger;
    constructor(config: SherpaTtsConfig, logger: pino.Logger);
    synthesizeSpeech(text: string): Promise<SpeechStreamResult>;
    free(): void;
}
//# sourceMappingURL=sherpa-tts.d.ts.map