/** * Abstract component for collections of CMS banners. At the very least a render() function * needs to be implemented. */ import React, { Component } from 'react'; import type { LayoutRectangle, StyleProp, ViewStyle } from 'react-native'; export interface CMSBannerProps { imageContainerStyle?: StyleProp; imageHeight?: number; imageWidth?: number; onPress?: (instance: any) => void; style?: StyleProp; cmsData?: any; accessible?: boolean; getAccessibilityLabel?: (instance: any) => string; } export interface CMSBannerState { containerWidth: number; } export declare abstract class CMSBanner

extends Component { state: { containerWidth: number; }; protected handleOnLayout: (e: { nativeEvent: { layout: LayoutRectangle; }; }) => void; protected readonly handlePress: (instance: any) => () => void; protected readonly renderInstance: (instance: any, i: number) => JSX.Element; abstract render(): React.ReactNode; }