export * from './base-error.js';
export * from './agent-error.js';
export * from './tool-error.js';
export * from './provider-error.js';
import { CodeBuddyError } from './base-error.js';
import { ApiError } from './provider-error.js';
/**
 * Extract error message from unknown error type
 */
export declare function getErrorMessage(error: unknown): string;
/**
 * Check if error is a CodeBuddyError
 */
export declare function isCodeBuddyError(error: unknown): error is CodeBuddyError;
/**
 * Check if error is operational (expected, can be handled gracefully)
 */
export declare function isOperationalError(error: unknown): boolean;
/**
 * Wrap unknown error in CodeBuddyError
 */
export declare function wrapError(error: unknown, code?: string): CodeBuddyError;
/**
 * Create error from API response
 */
export declare function createApiError(statusCode: number, message: string, endpoint?: string): ApiError;
