import { Cause, Option } from "effect"; import { ToolNameCollision } from "./agent-event.js"; export declare const classifyOtherFailure: (error: unknown) => import("../model/model-registry.js").FailureClassification; export declare const isToolNameCollision: (input: I) => input is I & ToolNameCollision; export declare const singleFailure: (cause: Cause.Cause) => Option.Option; export declare const makeRetryableOverflow: (input: { readonly retryOverflow: boolean; readonly canCompact: boolean; readonly classify: (error: unknown) => string; }) => (cause: Cause.Cause, hasEmitted: boolean) => boolean;