import { DemoData } from "../../global/demo";
import { CopyTextViewProps } from "../views/copy-text-view";
/**
 * @uiName Referral Code
 * @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-referral-card","span", "sqm-referral-codes"]
 * @exampleGroup Sharing
 * @example Referral Code - <sqm-referral-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000" show-notification-text="true"></sqm-referral-code>
 */
export declare class ReferralCode {
  /**
   * The ID of the program that should generate the code. Defaults to the program ID in context where this widget is loaded.
   *
   * @uiName Program ID
   * @uiWidget programSelector
   */
  programId?: string;
  /**
   * Shown inside a tooltip after someone has successfully copied the link to their clipboard
   *
   * @uiName Tooltip text
   */
  tooltiptext: string;
  /**
   * Boolean used to show notification text below input
   *
   * @uiName Show notification text
   */
  showNotificationText: boolean;
  /**
   * Shown underneath single-use promo codes when the user has already copied the code
   *
   * @uiName Notification text
   */
  notificationText: string;
  /**
   * The number of milliseconds that the tooltip appears for
   *
   * @uiName Tooltip lifespan
   */
  tooltiplifespan: number;
  /**
   * Change the text alignment
   *
   * @uiName Referral code alignment
   * @uiType string
   * @uiEnum ["left", "center", "right"]
   * @uiEnumNames ["Left", "Center", "Right"]
   * @uiGroup Style
   */
  textAlign: "left" | "center" | "right";
  /**
   * @uiName Copy button label
   */
  copyButtonLabel?: string;
  /**
   * Set the copy button style and placement
   *
   * @uiName Style
   * @uiType string
   * @uiEnum ["icon", "button-outside", "button-below"]
   * @uiEnumNames ["Icon", "Button outside", "Button below"]
   * @uiGroup Style
   */
  buttonStyle?: "icon" | "button-outside" | "button-below";
  /**
   * Background color of share link container
   * @uiName Background color
   * @uiWidget color
   * @format color
   * @uiGroup Style
   */
  backgroundColor?: string;
  /**
   * Border color of share link container (default is set to 1px solid transparent)
   * @uiName Border color
   * @uiWidget color
   * @format color
   * @uiGroup Style
   */
  borderColor?: string;
  /**
   * Color of the text and copy icon
   * @uiName Text color
   * @uiWidget color
   * @format color
   * @uiGroup Style
   */
  textColor?: string;
  /**
   * The border radius on the share link container (in pixels)
   * @uiName Border Radius
   * @uiType number
   * @uiGroup Style
   */
  borderRadius?: string;
  /**
   * The type of the button that is used (primary or secondary).
   * @uiName Button Type
   * @uiType string
   * @uiEnum ["primary", "secondary"]
   * @uiEnumNames ["Primary", "Secondary"]
   * @uiGroup Style
   */
  buttonType?: "primary" | "secondary";
  /**
   * @undocumented
   * @uiType object
   */
  demoData?: DemoData<CopyTextViewProps>;
  constructor();
  disconnectedCallback(): void;
  render(): any;
}
