import { WorkflowActor, WorkflowSnapshot } from "../../HDLKiosk/kernel/workflow/types.js"; import { KioskSaleReceipt } from "../runtime/operations/checkoutOrder.js"; import { ShoppingBarProps, ShoppingStep } from "./shopping/types.js"; import { useCheckout } from "./useCheckout.js"; import { ProtectKioskScreen } from "../../bigSale/templates/Kiosk/payment/useKioskScreenProtection.js"; import { BigSaleContext, BigSaleTemplateProps } from "../../bigSale/types.js"; import React from "react"; //#region src/components/kiosk/sales/contracts.d.ts interface KioskSalesHostProps extends BigSaleTemplateProps { devicePlatform?: string; className?: string; style?: React.CSSProperties; overlaySlot?: React.ReactNode; } interface KioskSaleView { actor: WorkflowActor; snapshot: WorkflowSnapshot; context: BigSaleContext; isActive: boolean; receipt?: KioskSaleReceipt; checkout: ReturnType; locale?: string; exiting: boolean; protectPayment?: ProtectKioskScreen; restartFromPayment?: React.Ref<(afterCancel: () => void) => void>; /** Omitting the bar uses this shopping step's standard controls. */ renderShopping(step: ShoppingStep, bottomBar?: React.ComponentType | null): React.ReactNode; onHome(): void; onNext(): void; } //#endregion export { KioskSaleView, KioskSalesHostProps };