import { IkasCheckout, IkasPaymentGateway } from "../../../storefront-models/src"; /** * Determines whether a checkout process is complete based on the checkout origin and payment status. * * @ai-category Checkout * @ai-related getCheckoutTotalFinalPrice * * @param checkout - The checkout object to evaluate completion status for. * @returns True if the checkout is complete: for admin-created checkouts, checks if payment status is PAID; otherwise, checks if an order number exists. * * @example * ```typescript * import { isCheckoutComplete } from "@ikas/bp-storefront"; * * if (isCheckoutComplete(checkout)) { * console.log("Checkout is complete."); * } * ``` */ export declare function isCheckoutComplete(checkout: IkasCheckout): boolean; /** * Calculates the total final price of a checkout including any additional price adjustments from the selected payment gateway. * * @ai-category Checkout, PaymentGateway * @ai-related isCheckoutComplete, getPaymentGatewayCalculatedAdditionalPrices * * @param checkout - The checkout object containing the base total final price and shipping lines. * @param selectedPaymentGateway - The selected payment gateway whose additional prices (increments/decrements) are applied to the total. * @returns The adjusted total final price after applying payment gateway additional prices, with a minimum of 0. * * @example * ```typescript * import { getCheckoutTotalFinalPrice } from "@ikas/bp-storefront"; * * const totalPrice = getCheckoutTotalFinalPrice(checkout, selectedPaymentGateway); * console.log("Total:", totalPrice); * ``` */ export declare function getCheckoutTotalFinalPrice(checkout: IkasCheckout, selectedPaymentGateway: IkasPaymentGateway): number;