import { EvershopRequest } from '../../../../types/request.js'; import { EvershopResponse } from '../../../../types/response.js'; /** * Saves the shopper's email on an active cart. The checkout sends it as soon * as a guest enters it; the payload schema has checked it is an email. * * One column, in one statement, and only while the cart is active. Loading * the cart and saving it back (`saveCart`) writes every column, `status` * included (its resolver always gives 1), so a save that loaded the cart just * before the order was placed and wrote just after made the ordered cart * active again. The checkout sends this request when the shopper leaves the * email field, so clicking "Place order" from there starts it just before the * order. */ declare const _default: (request: EvershopRequest, response: EvershopResponse, next: () => void) => Promise; export default _default;