/// /// export { default as authenticate } from "./authenticate"; export { default as authenticateCustomer } from "./authenticate-customer"; export { default as errorHandler } from "./error-handler"; export { default as wrapHandler } from "./await-middleware"; export { canAccessBatchJob } from "./batch-job/can-access-batch-job"; export { getRequestedBatchJob } from "./batch-job/get-requested-batch-job"; export { doesConditionBelongToDiscount } from "./discount/does-condition-belong-to-discount"; export { default as normalizeQuery } from "./normalized-query"; export { default as requireCustomerAuthentication } from "./require-customer-authentication"; export { transformBody } from "./transform-body"; export { transformIncludesOptions } from "./transform-includes-options"; export { transformQuery, transformStoreQuery } from "./transform-query"; /** * @deprecated you can now import the middlewares directly without passing by the default export * e.g `import { authenticate } from "@medusajs/medusa" */ declare const _default: { authenticate: () => import("express").RequestHandler>; authenticateCustomer: () => import("express").RequestHandler>; requireCustomerAuthentication: () => import("express").RequestHandler>; normalizeQuery: () => (req: import("express").Request>, res: import("express").Response>, next: import("express").NextFunction) => void; /** * @deprecated use `import { wrapHandler } from "@medusajs/medusa"` */ wrap: (fn: (req: import("express").Request>, res: import("express").Response>) => Promise) => import("express").RequestHandler>; }; export default _default;