/**
 * Base error class for all xRegistry operations.
 */
export declare class RegistryError extends Error {
    constructor(message: string);
}
/**
 * Error thrown when a tool is not found in the registry.
 */
export declare class ToolNotFoundError extends RegistryError {
    constructor(toolName: string);
}
/**
 * Error thrown when attempting to register a duplicate tool.
 */
export declare class DuplicateToolError extends RegistryError {
    constructor(toolName: string);
}
/**
 * Type guard to check if an error is a RegistryError.
 */
export declare function isRegistryError(error: unknown): error is RegistryError;
/**
 * Convert unknown error to RegistryError.
 * If error is already RegistryError, return as-is.
 * Otherwise wrap in generic RegistryError.
 */
export declare function toRegistryError(error: unknown): RegistryError;
/**
 * Detailed error information for each error code.
 * Maps error codes to human-readable messages, hints, and documentation links.
 */
export declare const ERROR_DETAILS: Record<string, {
    message: string;
    hint?: string;
    field?: string;
    docs: string;
    suggested_action: string;
    severity: 'critical' | 'high' | 'medium' | 'low';
}>;
//# sourceMappingURL=errors.d.ts.map