import type * as Brevo from "../index.js"; export interface GetExtendedCampaignStats { /** List-wise statistics of the campaign. */ campaignStats: Brevo.GetCampaignStats[]; /** Overall statistics of the campaign */ globalStats: Brevo.GetCampaignStats; /** Statistics about the number of clicks for each link in the campaign. Keys are the link URLs, values are click counts. Only populated when the `statistics` query parameter is set to `linksStats`. */ linksStats: Record; /** Number of clicks on mirror link */ mirrorClick: number; /** Number of remaining emails to send */ remaining: number; /** Statistics of the campaign grouped by browser. Only available when retrieving a single campaign with the `statistics` query parameter set to `statsByBrowser`. */ statsByBrowser?: Record | undefined; statsByDevice?: GetExtendedCampaignStats.StatsByDevice | undefined; /** Statistics of the campaign grouped by email domain. Only populated when the `statistics` query parameter is set to `statsByDomain`. */ statsByDomain?: Record | undefined; } export declare namespace GetExtendedCampaignStats { interface StatsByDevice { /** Statistics of the campaign on the basis of desktop devices */ desktop?: Record | undefined; /** Statistics of the campaign on the basis of mobile devices */ mobile?: Record | undefined; /** Statistics of the campaign on the basis of tablet devices */ tablet?: Record | undefined; /** Statistics of the campaign on the basis of unknown devices */ unknown?: Record | undefined; } }