import { ApiError } from '../typings';
export declare class JacksonError extends Error {
    name: string;
    statusCode: number;
    internalError?: string;
    constructor(message: string, statusCode?: number, internalError?: string);
}
export declare const apiError: (err: any) => {
    data: null;
    error: ApiError;
};
