import type { AssistantMessage } from "@earendil-works/pi-ai";
import type { KaijiBotConfig } from "../../config/config.js";
import { type ToolModelConfig } from "./model-config.helpers.js";
export type ImageModelConfig = ToolModelConfig;
export declare function decodeDataUrl(dataUrl: string, opts?: {
    maxBytes?: number;
}): {
    buffer: Buffer;
    mimeType: string;
    kind: "image";
};
export declare function coerceImageAssistantText(params: {
    message: AssistantMessage;
    provider: string;
    model: string;
}): string;
export declare function coerceImageModelConfig(cfg?: KaijiBotConfig): ImageModelConfig;
export declare function resolveProviderVisionModelFromConfig(params: {
    cfg?: KaijiBotConfig;
    provider: string;
}): string | null;
