openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
17 lines (16 loc) • 642 B
TypeScript
import type { MsgContext } from "../auto-reply/templating.js";
import type { OpenClawConfig } from "../config/config.js";
import { type ActiveMediaModel } from "./runner.js";
import type { MediaAttachment, MediaUnderstandingProvider } from "./types.js";
export declare function runAudioTranscription(params: {
ctx: MsgContext;
cfg: OpenClawConfig;
attachments?: MediaAttachment[];
agentDir?: string;
providers?: Record<string, MediaUnderstandingProvider>;
activeModel?: ActiveMediaModel;
localPathRoots?: readonly string[];
}): Promise<{
transcript: string | undefined;
attachments: MediaAttachment[];
}>;