export declare class MetiganError extends Error { constructor(message: string); } export declare class ApiError extends MetiganError { statusCode: number; message: string; error?: string; constructor(statusCode: number, message: string, error?: string); } export declare class ValidationError extends MetiganError { message: string; field?: string; constructor(message: string, field?: string); }