import type { Api, Model } from "@oh-my-pi/pi-catalog/types"; import type { SpeechOptions, SpeechRequest, SpeechResult } from "./types.js"; export * from "./openai-speech.js"; export * from "./transport.js"; export * from "./types.js"; export * from "./xai-tts.js"; /** Catalog APIs {@link synthesizeSpeech} serves; the `tts` tool and the gateway gate on these. */ export declare const SPEECH_APIS: readonly ["xai-tts", "openai-speech"]; export type SpeechApi = (typeof SPEECH_APIS)[number]; /** Whether a catalog API synthesizes speech through a cloud transport (local inference is tool-only). */ export declare function isSpeechApi(api: Api): api is SpeechApi; /** Synthesize speech through the transport selected by the catalog model's `api`. */ export declare function synthesizeSpeech(model: Model, request: SpeechRequest, options: SpeechOptions): Promise;