import { HttpException } from '@nestjs/common'; type Extend = { code: string; message: string; }; export type ExtendedException = new () => HttpException; export declare function extendException(factory: new (message: string) => HttpException, extend: Extend): ExtendedException; export {};