/**
 * API Error class for standardized error handling
 */
export declare class APIError extends Error {
    statusCode: number;
    isOperational: boolean;
    details: any;
    constructor(message: string, statusCode?: number, details?: any);
}
/**
 * Error handler middleware
 */
export declare function errorHandler(error: Error | APIError, req: any, res: any, next: any): void;
//# sourceMappingURL=errorHandler.d.ts.map