import type { AssistantMessage } from "@earendil-works/pi-ai";
import type { DaoCoreConfig } from "../../config/types.daocore.js";
import { type ToolModelConfig } from "./model-config.helpers.js";
export type ImageModelConfig = ToolModelConfig;
export declare function hasImageReasoningOnlyResponse(message: AssistantMessage): boolean;
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?: DaoCoreConfig): ImageModelConfig;
export declare function resolveConfiguredImageModelRefs(params: {
    cfg?: DaoCoreConfig;
    imageModelConfig: ImageModelConfig;
}): ImageModelConfig;
export declare function resolveProviderVisionModelFromConfig(params: {
    cfg?: DaoCoreConfig;
    provider: string;
}): string | null;
