import { Effect } from "effect"; import type { Diagnostic } from "../codemode.js"; import { type SafeObject } from "../tool-runtime.js"; import { type AstNode } from "./model.js"; import { type SyncIteratorRunner } from "./iterator.js"; export declare const normalizeError: (error: unknown) => Diagnostic; export declare const caughtErrorValue: (thrown: unknown) => unknown; export declare const constructErrorValue: (name: string, args: Array) => SafeObject; export declare const constructAggregateErrorValue: (runner: SyncIteratorRunner, args: Array, node: AstNode) => Effect.Effect;