/**
 * OwlCoda Native Response Parser
 *
 * Parses Anthropic Messages API responses into structured AssistantResponse.
 */
import type { AnthropicMessagesResponse, AssistantResponse } from './types.js';
/** Parse a non-streaming Anthropic Messages API response. */
export declare function parseResponse(raw: AnthropicMessagesResponse): AssistantResponse;
/** Parse a raw JSON response body (handles error responses). */
export declare function parseResponseBody(body: unknown): AssistantResponse | {
    error: string;
};
/** Type guard for error results. */
export declare function isErrorResult(result: AssistantResponse | {
    error: string;
}): result is {
    error: string;
};
