import { ServerResponse } from 'node:http';
/**
 * Handles HTTP request errors and sends appropriate responses
 */
export declare function handleError(res: ServerResponse, error: Error & {
    status?: number;
}, requestId: string, additionalHeaders?: Map<string, string>): void;
//# sourceMappingURL=error.d.ts.map