/**
 * Error taxonomy for `@tangle-network/agent-eval`.
 *
 * Every error this package throws as part of its *public contract* extends
 * `AgentEvalError`. Consumers can pattern-match by `instanceof <Subclass>` or
 * by the stable string `code` carried on the base class.
 *
 * The codes are stable across minor versions; new codes can be added, but
 * existing codes never change meaning. New subclasses are non-breaking.
 *
 * Internal invariant guards (`throw new Error('this should never happen')`)
 * remain plain `Error`s on purpose — they're programmer-mistake assertions,
 * not consumer-catchable contract failures.
 */
export type AgentEvalErrorCode = 'validation' | 'not_found' | 'config' | 'capture_integrity' | 'judge' | 'verification' | 'replay' | 'backend_integrity' | 'profile_matrix';
export declare class AgentEvalError extends Error {
    /** Stable string code. Survives minification; safe to switch on. */
    readonly code: AgentEvalErrorCode;
    constructor(code: AgentEvalErrorCode, message: string, options?: {
        cause?: unknown;
    });
}
/** Caller passed invalid arguments (out of range, mutually-exclusive options, bad shape). */
export declare class ValidationError extends AgentEvalError {
    constructor(message: string, options?: {
        cause?: unknown;
    });
}
/** A named resource (run, span, rubric, scenario, dataset row, route) does not exist. */
export declare class NotFoundError extends AgentEvalError {
    constructor(message: string, options?: {
        cause?: unknown;
    });
}
/** Configuration missing or malformed (`HOME` unset, required image not supplied, env var absent). */
export declare class ConfigError extends AgentEvalError {
    constructor(message: string, options?: {
        cause?: unknown;
    });
}
/**
 * A run is missing the artifacts a launch-grade check requires:
 * raw HTTP capture absent, no LLM spans, route assertion failed, run-end
 * assertion tripped. Block ship on this; do not catch and move on.
 */
export declare class CaptureIntegrityError extends AgentEvalError {
    constructor(message: string, options?: {
        cause?: unknown;
    });
}
/** A judge call failed in a way that's not retryable: schema parse failure, bad rubric, conflicting dimensions. */
export declare class JudgeError extends AgentEvalError {
    constructor(message: string, options?: {
        cause?: unknown;
    });
}
/** A verifier signalled a hard failure (compile, test, schema) — distinct from a low judge score. */
export declare class VerificationError extends AgentEvalError {
    constructor(message: string, options?: {
        cause?: unknown;
    });
}
/** Replay cache cannot satisfy a request: miss with no fallback, sink lacks list(), unsupported URL. */
export declare class ReplayError extends AgentEvalError {
    constructor(message: string, options?: {
        cause?: unknown;
    });
}
//# sourceMappingURL=errors.d.ts.map