import type { SemanticMapper } from '../../format-adapters/index.js';
import type { AdapterContext, ChatEnvelope } from '../../types/chat-envelope.js';
import type { FormatEnvelope } from '../../types/format-envelope.js';
export declare function maybeAugmentApplyPatchErrorContent(content: string, toolName?: string): string;
export declare class ChatSemanticMapper implements SemanticMapper {
    toChat(format: FormatEnvelope, ctx: AdapterContext): Promise<ChatEnvelope>;
    fromChat(chat: ChatEnvelope, ctx: AdapterContext): Promise<FormatEnvelope>;
}
