@duckduckgo/content-scope-scripts
    Preparing search index...

    Type Alias LauncherPromo

    LauncherPromo:
        | {
            ctaLabel?: string;
            dismissible?: boolean;
            message: string;
            secondaryText?: string;
        }
        | null

    Native-resolved Duck.ai launcher promo for the AI-mode drawer. Native owns eligibility, localized copy and what the CTA does; FE renders what it receives, below every other notice. Null/omitted shows nothing.

    Type Declaration

    • {
          ctaLabel?: string;
          dismissible?: boolean;
          message: string;
          secondaryText?: string;
      }
      • OptionalctaLabel?: string

        Button label, already localized. Omitted means no button. Selecting it notifies native via omnibar_selectLauncherPromoCta.

      • Optionaldismissible?: boolean

        When true, show a dismiss control. Dismiss notifies native via omnibar_dismissLauncherPromo.

      • message: string

        Drawer copy, already localized, shown emphasized.

      • OptionalsecondaryText?: string

        Optional copy shown after message, already localized and including any leading separator (for example, ' • Add Duck.ai to your menu bar').

    • null