import { type Katarite, type Speech } from "@yomiscript/core"; import type { Engine } from "./engine.ts"; /** audio samples per duration step of Kokoro's predictor (24 kHz, 2 frames of 300 samples) */ export declare const SAMPLES_PER_STEP = 600; export interface KokoroOptions { /** a voice (e.g. jm_kumo, or a blend a+b@0.3) for every section instead of each language's default */ voice?: string; } export declare class KokoroKatarite implements Katarite { readonly name = "kokoro"; readonly languages: readonly ["ja", "en", "fr", "zh"]; private E; private voice?; constructor(engine: Engine, options?: KokoroOptions); speak(ys: string): Promise; }