declare global { interface Window { Trustpilot?: { loadFromElement: (element: HTMLElement, forceReload?: boolean) => void; }; } } export interface TrustBoxProps { /** * Defines the color of text we should show */ theme?: 'light' | 'dark'; /** * Defines the widget ID (only used with multiple widget instances) */ widgetId?: string; } declare const TrustBox: ({ theme, widgetId, }: TrustBoxProps) => JSX.Element; export default TrustBox;