import { ChatMessage, ContentType } from "~/types";
import { type Language } from "./message-type-detector";
export { mapBackendType, detectMessageType } from "./message-type-detector";
export declare function mapChunkTypeToContentType(chunkType?: string): ContentType | undefined;
export declare function detectMessageContentType(content: string | undefined, language?: Language): ContentType;
export declare function enhanceMessage(message: ChatMessage, language?: Language): ChatMessage;
export declare function createEnhancedMessage(message: Partial<ChatMessage> & {
    id: string;
}, language?: Language): ChatMessage;
export declare function setDetectorLanguage(language: Language): void;
export declare function clearDetectorCache(): void;
