import type { Supplier, UpdateSupplierInput } from "../index.js"; import { supplierDetailPaymentPolicySlot } from "./slots.js"; export { supplierDetailPaymentPolicySlot }; /** * Render context handed to widget contributions targeting * {@link supplierDetailPaymentPolicySlot}. Mirrors the canonical page's * `renderCustomerPaymentPolicy` args: the supplier plus the page-owned * update mutation so contributed cards persist without re-deriving it. */ export interface SupplierDetailHostSlotContext { supplier: Supplier; updateSupplier: (input: UpdateSupplierInput) => Promise; isUpdating: boolean; } export interface SupplierDetailHostProps { id: string; } /** * Packaged admin host for the canonical `SupplierDetailPage` (packaged-admin * RFC Phase 3). Owns everything package-clean: * * - Cross-route links resolve through semantic destinations (RFC §4.7): * back/deleted navigate to `"supplier.list"` — no host route tree import. * - Locale comes from the admin chrome (`useLocale`). * - The customer-payment-policy section mounts through * {@link supplierDetailPaymentPolicySlot} whenever a widget contribution * targets it (finance-ui contributes its card there). */ export declare function SupplierDetailHost({ id }: SupplierDetailHostProps): import("react").JSX.Element;