import type { MsgContext } from "../auto-reply/templating.js"; import type { BotConfig } from "../config/config.js"; import type { MediaUnderstandingDecision, MediaUnderstandingOutput, MediaUnderstandingProvider } from "./types.js"; import { type ActiveMediaModel } from "./runner.js"; export type ApplyMediaUnderstandingResult = { outputs: MediaUnderstandingOutput[]; decisions: MediaUnderstandingDecision[]; appliedImage: boolean; appliedAudio: boolean; appliedVideo: boolean; appliedFile: boolean; }; export declare function applyMediaUnderstanding(params: { ctx: MsgContext; cfg: BotConfig; agentDir?: string; providers?: Record; activeModel?: ActiveMediaModel; }): Promise;