import { default as React } from 'react'; import { createRoot } from 'react-dom/client'; import { ROIWrapperProps } from '@percy.ai/ui'; declare global { interface Window { React: typeof React; ReactDOM: { createRoot: typeof createRoot; }; ROIEmbed: { init: (containerId: string, props: ROIEmbedProps) => Promise; }; } } export interface ROIEmbedProps extends ROIWrapperProps { apiUrl?: string; } export declare function initROIEmbed(containerId: string, props: ROIEmbedProps): Promise; export { ROIWrapper } from '@percy.ai/ui'; export type { ROIWrapperProps } from '@percy.ai/ui';