import { ValidationError } from 'class-validator';
export declare function getCode(exResponse: ExceptionResponse | string): string;
export declare function getErrorMessage(exResponse: ExceptionResponse | string): string;
interface ExceptionResponse {
    code?: string;
    error?: string;
    message?: string | string[] | ValidationError[];
}
export {};
