interface Window { supacoCHBridge: { restUrl: string; nonce: string; pricingUrl: string; }; } declare const wp: { plugins: { registerPlugin(name: string, settings: { render: () => JSX.Element | null }): void; }; editPost: { PluginSidebar: React.ComponentType<{ name: string; title: string; children: React.ReactNode; }>; PluginSidebarMoreMenuItem: React.ComponentType<{ target: string; children: React.ReactNode; }>; }; components: { PanelBody: React.ComponentType<{ children: React.ReactNode }>; Button: React.ComponentType<{ variant?: string; onClick?: () => void; disabled?: boolean; isBusy?: boolean; style?: React.CSSProperties; children: React.ReactNode; }>; Spinner: React.ComponentType; }; data: { useSelect(selector: (select: (store: string) => any) => T): T; }; element: { useState: typeof import('react').useState; }; };