import type { HTMLAttributes } from 'react'; import React from 'react'; export interface ElfsightWidgetProps extends HTMLAttributes { /** * @deprecated since 1.1.0, please use widgetId instead * * Widget identifier (deprecated). * Use `widgetId` instead. */ widgetID?: never; /** * Widget identifier. * The unique identifier for the widget, obtained from the installation code. * Example: `elfsight-app-85d18ddb-c202-421e-9a88-6c099d7a7833` → `85d18ddb-c202-421e-9a88-6c099d7a7833`. */ widgetId: string; /** * Enables lazy loading. * Accepts a boolean or a mode. */ lazy?: boolean | NamedLazyMode; } export declare type NamedLazyMode = `default` | 'first-activity' | 'in-viewport' | 'disabled'; export declare const ElfsightWidget: React.NamedExoticComponent;