export declare class MethodError extends Error { error: string; statusCode: number; constructor(error: string, statusCode?: number); }