import type { Branding } from "../../types.js"; export interface DcPaymentLine { name: string; quantity: number; lineTotal: number; currency: string; } export interface DcPaymentPageArgs { /** Order id, echoed back so verify is scoped to one order. */ order: string; /** Catalog-priced total (never the token's). */ total: number; currency: string; lines: DcPaymentLine[]; /** Where to send the buyer after payment — the checkout hub, which then shows the * paid confirmation. Defaults to this server's `/checkout?order=`. */ returnUrl?: string; /** The store's order-status record for this order (from the host's `statusUrl` seam) — the * completed page links it as "Order record ›". Absent ⇒ no link. */ statusUrl?: string; /** statelessOrders: base64url cart mandate carried back to the store-less `/checkout`. */ cart?: string; /** The order-derived progress rail HTML (from `checkoutRail`), built by the route which * holds the full re-priced order. Absent ⇒ no rail (never a hardcoded one). */ rail?: string; /** Host brand for this page (from `ctx.branding`). Absent ⇒ the built-in look. */ branding?: Branding; /** Browser-visible path prefix (from `ctx.basePath`) — every URL this page fetches or links * carries it. Absent ⇒ "" (served at the root). */ basePath?: string; } export declare function renderDcPaymentPage(args: DcPaymentPageArgs): string;