import React from 'react'; import { WidgetEmbedCodeLabels } from './types'; type WidgetEmbedCodeLoaderProps = { entityId: string; labels: WidgetEmbedCodeLabels; copyToClipboardLabel: string; onCopy: () => void; }; /** * Loader-based embed code view for the predictor widget using the FuWidgetLoader approach. * Generates two script tags: CDN loader + initialization code with configurable options. * The Client ID and Web API Key are resolved automatically from the client's settings. * * @property {string} entityId - Competition leaderboard template id used as the predictor content id. * @property {WidgetEmbedCodeLabels} labels - Custom labels for UI and tooltips. * @property {string} copyToClipboardLabel - Label for the copy button tooltip. * @property {() => void} onCopy - Callback when code is copied to clipboard. */ declare const WidgetEmbedCodeLoader: React.FC; export default WidgetEmbedCodeLoader;