import { IApiError, IApiErrorAndInfo } from '@villedemontreal/general-utils';
/**
 * Easily creates an "InvalidJWT" error (401). To throw when
 * the user has a bad/expired JWT
 */
export declare function createInvalidJwtError(detail: IApiError): IApiErrorAndInfo;
/**
 * Easily creates an "invalidAuthHedaer" error (401). To throw when
 * the user has a bad authorization header
 */
export declare function createInvalidAuthHeaderError(detail: IApiError): IApiErrorAndInfo;
//# sourceMappingURL=customError.d.ts.map