/**
 * Media handlers — extracted from StdioServer.
 * Handles: media.listModels, media.cancel, media.status, media.stt
 */
import { type MediaClient } from "../provider-core-facade.js";
import { type AgentRpcError, type AgentRpcRequest } from "../../protocol/wire/index.js";
export interface MediaHandlerHost {
    mediaClient?: Pick<MediaClient, "getTransport" | "listMediaModels"> | null;
    sendResponse(id: string | number, result?: unknown, error?: AgentRpcError): void;
}
export declare function handleMediaListModels(this: MediaHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleMediaCancel(this: MediaHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleMediaStatus(this: MediaHandlerHost, msg: AgentRpcRequest): Promise<void>;
/**
 * `media.stt` — Speech-to-text transcription.
 * Accepts base64-encoded audio, calls the designated STT provider (zhipu GLM-ASR-2512).
 * This is a non-session utility: no turn/session is created.
 */
export declare function handleMediaStt(this: MediaHandlerHost, msg: AgentRpcRequest): Promise<void>;
