/** * The parts of WooCommerce's checkout block packages the pickup point script uses. They are * WordPress globals at runtime (wc.blocksCheckout, wp.plugins), so only the types live here. */ declare module '@woocommerce/blocks-checkout' { import type { ComponentType, ReactNode } from 'react'; export const ExperimentalOrderShippingPackages: ComponentType<{ children?: ReactNode }>; export function extensionCartUpdate(args: { namespace: string; data: Record; }): Promise; } declare module '@wordpress/plugins' { import type { ComponentType } from 'react'; export function registerPlugin( name: string, settings: { render: ComponentType; scope?: string } ): unknown; }