import React from "react"; import { HelpPopoverProps } from "./HelpPopover"; type MoreOptions = { title: string; link: string; path: string; icon: React.ReactNode; onClick?: Function; dataTestid: string; description?: string | React.ReactNode; element: React.ReactNode | React.ElementType; helpPopoverProps?: HelpPopoverProps; }; type RegenerateConfig = { expiresInOptions: Array<{ label: string; value: string }>; helpUrl: string; }; declare const ShareViaLink: React.FC<{ title: string | React.ReactNode; description?: string | React.ReactNode; customTopContent?: React.ReactNode; customBottomContent?: React.ReactNode; isLoading?: boolean; enabledOptions?: { regenerate?: boolean | RegenerateConfig; edit?: boolean }; entity: { id: string; name: string; }; entityName: string; handleEdit?: Function; handleRegenerate?: Function; socialMediaProps: { cardTitle?: string | React.ReactNode; cardDescription?: string | React.ReactNode; pageTitle?: string | React.ReactNode; pageDescription?: string | React.ReactNode; postTitle?: string; }; qrCodeProps?: { cardTitle?: string | React.ReactNode; cardDescription?: string | React.ReactNode; pageTitle?: string | React.ReactNode; pageDescription?: string | React.ReactNode; }; moreOptions?: MoreOptions[]; disableShareSocialMedia?: boolean; disableQRDownload?: boolean; urls: { prefix?: string; editablePath?: string; maxLength?: number; url: string; previewUrl?: string; }[]; }>; export default ShareViaLink;