import type { Api, Model } from "@oh-my-pi/pi-catalog/types"; import * as AIError from "../error/index.js"; import { type SpeechFormat, type SpeechOptions, type SpeechResult } from "./types.js"; export declare class SpeechApiError extends AIError.ProviderHttpError { readonly name = "SpeechApiError"; } export declare function postSpeechRequest(model: Model, path: string, payload: Record, format: SpeechFormat, options: SpeechOptions): Promise;