import type { ChatToolDefinition, MissingField } from '../hub/types/chat-envelope.js';
import { type JsonObject } from '../hub/types/json.js';
type Unknown = Record<string, unknown>;
type UnknownArray = Unknown[];
interface OpenAIChatPayload extends Unknown {
    messages: UnknownArray;
}
export declare function normalizeAnthropicToolName(value: unknown): string | undefined;
export declare function denormalizeAnthropicToolName(value: unknown): string | undefined;
export declare function buildOpenAIChatFromAnthropic(payload: unknown, options?: {
    includeToolCallIds?: boolean;
}): OpenAIChatPayload;
export interface BuildAnthropicFromOpenAIOptions {
    toolNameMap?: Record<string, string>;
    requestId?: string;
}
export declare function buildAnthropicFromOpenAIChat(oa: unknown, options?: BuildAnthropicFromOpenAIOptions): Unknown;
export declare function buildAnthropicRequestFromOpenAIChat(chatReq: unknown): Unknown;
export declare function mapAnthropicToolsToChat(rawTools: unknown, missing?: MissingField[]): ChatToolDefinition[] | undefined;
export declare function mapChatToolsToAnthropicTools(rawTools: unknown): UnknownArray | undefined;
export declare function buildAnthropicToolAliasMap(rawTools: unknown): JsonObject | undefined;
export {};
