import { AspectRatio, BackgroundColor } from '../images/image'; export declare enum Layout { stacked = "stacked", responsive = "responsive" } export declare enum ImageContainerWidth { xs = "xs", s = "s", m = "m", l = "l", xl = "xl" } export declare enum ImageContainerStackedHeight { s = "s", m = "m" } export declare enum CTAStyle { primary = "primary", secondary = "secondary", link = "link" } export interface ImageProps { backgroundSrc: string; backgroundAlt: string; foregroundSrc: string; foregroundAlt: string; backgroundColor?: BackgroundColor; poiX: number; poiY: number; } export interface CtaProps { label: string; href: string; style: CTAStyle; } export declare class AmpTextSectionBlock { el: HTMLElement; /** * Sets the foreground and background of the amp-image component */ image: ImageProps | string; /** * Sets the copy of the component */ copy: string; /** * Determines if the component is responsive (horizontal on desktop) or always stacked */ layout: Layout; /** * Determines if a responsive (inline) component has a reverse layout (image on right, copy on left) */ reverseLayout: boolean; /** * The width of the image container for responsive desktop layout: 'xs', 's', 'm' (default), 'l', 'xl' */ imageContainerWidth: ImageContainerWidth; /** * The height of the image container for stacked and mobile layouts: 's' (default), 'm' */ imageContainerStackedHeight: ImageContainerStackedHeight; /** * Aspect Ratio for the image: auto (default), square, video, video-vertical */ aspectRatio: AspectRatio; /** * Array of CTAs with { label, href, style } */ ctas: CtaProps[] | string; /** * Comes from the 3rd piece of the tracking code that is selected on the content type */ dataCampaignName: string; /** * The entire tracking code that merch/marketing use for reporting purposes */ primaryTrackingId: string; /** * The entire tracking code that merch/marketing use for reporting purposes */ secondaryTrackingId: string; private threshold; componentDidLoad(): void; render(): any; }