/**
 * Error suggestions for common issues
 */
export interface ErrorSuggestions {
    /** Short, actionable suggestions */
    suggestions: string[];
    /** Relevant documentation links */
    docs?: string[];
    /** Related files to check */
    files?: string[];
    /** Recovery steps */
    recovery?: string[];
}
/**
 * Individual error detail item
 */
export interface ErrorDetail {
    field?: string;
    message: string;
    value?: unknown;
}
/**
 * Format any error for display
 * Uses enhanced formatting for AgentError, basic formatting for other errors
 */
export declare function formatError(error: unknown): string;
/**
 * Base agent error with enhanced context and suggestions
 */
export declare class AgentError extends Error {
    readonly code: string;
    readonly details?: (Record<string, unknown> | ErrorDetail[]) | undefined;
    readonly suggestions?: ErrorSuggestions | undefined;
    constructor(message: string, code: string, details?: (Record<string, unknown> | ErrorDetail[]) | undefined, suggestions?: ErrorSuggestions | undefined);
    /**
     * Get formatted error message with suggestions
     */
    getFormattedMessage(): string;
}
/**
 * Invalid state transition error
 */
export declare class StateTransitionError extends AgentError {
    constructor(from: string, to: string, reason?: string);
}
/**
 * Task execution error
 */
export declare class TaskExecutionError extends AgentError {
    readonly originalError?: Error | undefined;
    constructor(taskId: string, message: string, originalError?: Error | undefined);
}
/**
 * Workflow invocation error
 */
export declare class WorkflowInvocationError extends AgentError {
    readonly originalError?: Error | undefined;
    constructor(workflow: string, message: string, originalError?: Error | undefined);
}
/**
 * State corruption error
 */
export declare class StateCorruptionError extends AgentError {
    readonly details?: (Record<string, unknown> | ErrorDetail[]) | undefined;
    constructor(message: string, details?: (Record<string, unknown> | ErrorDetail[]) | undefined);
}
/**
 * Resource limit exceeded error
 */
export declare class ResourceLimitError extends AgentError {
    constructor(limit: string, current: number, max: number);
}
/**
 * Configuration validation error
 */
export declare class ConfigValidationError extends AgentError {
    readonly validationErrors: string[];
    constructor(message: string, validationErrors: string[]);
}
/**
 * Session conflict error
 */
export declare class SessionConflictError extends AgentError {
    readonly existingSession?: any | undefined;
    constructor(sessionId: string, existingSession?: any | undefined);
}
/**
 * Agent status error
 */
export declare class AgentStatusError extends AgentError {
    constructor(message: string);
}
/**
 * Safety violation error
 */
export declare class SafetyViolationError extends AgentError {
    constructor(message: string);
}
//# sourceMappingURL=errors.d.ts.map