import React, { Component } from 'react';
import { LayoutRectangle, StyleProp, ViewStyle } from 'react-native';
export interface CMSBannerProps {
    imageContainerStyle?: StyleProp<ViewStyle>;
    imageHeight?: number;
    imageWidth?: number;
    onPress?: (instance: any) => void;
    style?: StyleProp<ViewStyle>;
    cmsData?: any;
}
export interface CMSBannerState {
    containerWidth: number;
}
export declare abstract class CMSBanner<P extends CMSBannerProps> extends Component<P, CMSBannerState> {
    state: CMSBannerState;
    handleOnLayout: (e: {
        nativeEvent: {
            layout: LayoutRectangle;
        };
    }) => void;
    handlePress: (instance: any) => () => void;
    renderInstance: (instance: any, i: number) => JSX.Element;
    abstract render(): React.ReactNode;
}
