/** * Battery-scoped exception constructors for the native Bedrock Converse adapter. * * @module @nhtio/adk/batteries/llm/bedrock_converse/exceptions * * @remarks * Two Converse-specific classifications earn their own exceptions because both are ACTIONABLE and * both arrive as a generic validation error otherwise: * {@link E_CONVERSE_MISSING_TOOL_CONFIG} and {@link E_CONVERSE_ALTERNATION_VIOLATION}. */ /** Resolved options failed validation. */ export declare const E_INVALID_BEDROCK_CONVERSE_OPTIONS: import("../../../factories").CreatedException<[ string ]>; /** Context token weight exceeded the configured window. */ export declare const E_BEDROCK_CONVERSE_CONTEXT_OVERFLOW: import("../../../factories").CreatedException<[ number, number, string ]>; /** The provider returned a non-2xx status. */ export declare const E_CONVERSE_REQUEST_FAILED: import("../../../factories").CreatedException<[ number, string ]>; /** * Converse rejected the request because `toolUse`/`toolResult` blocks appeared with no `toolConfig`. * * @remarks * Classified separately because the fix is specific and non-obvious: `toolConfig` must be present * whenever the TRANSCRIPT contains a tool block, even when no tools are offered for this turn and * the calls are pure history. The battery declares it automatically; this fires when a custom * `buildConverseRequest` omits it. */ export declare const E_CONVERSE_MISSING_TOOL_CONFIG: import("../../../factories").CreatedException<[ string ]>; /** * Converse rejected the request for non-alternating roles. * * @remarks * Only reachable under `alternationPolicy: 'reject'`, which exists precisely so this error can be * OBSERVED rather than silently repaired — a repair applied before dispatch is invisible in the * response, which makes a client-side fix indistinguishable from vendor tolerance. */ export declare const E_CONVERSE_ALTERNATION_VIOLATION: import("../../../factories").CreatedException<[ string ]>; /** A transport error or malformed frame killed the stream. */ export declare const E_CONVERSE_STREAM_ERROR: import("../../../factories").CreatedException<[ string ]>; /** A `toolUse` block carried an `input` value that is not a plain object. */ export declare const E_CONVERSE_INVALID_TOOL_INPUT: import("../../../factories").CreatedException<[ string ]>;