import React from 'react';
import './customBannerConfig.less';
export interface ICustomBannerConfig {
    backgroundColor: string;
    enabled: boolean;
    text: string;
    textColor: string;
}
export interface ICustomBannerConfigProps {
    bannerConfigs: ICustomBannerConfig[];
    isSaving: boolean;
    saveError: boolean;
    updateBannerConfigs: (bannerConfigs: ICustomBannerConfig[]) => void;
}
export interface ICustomBannerConfigState {
    bannerConfigsEditing: ICustomBannerConfig[];
}
export declare class CustomBannerConfig extends React.Component<ICustomBannerConfigProps, ICustomBannerConfigState> {
    static defaultProps: Partial<ICustomBannerConfigProps>;
    constructor(props: ICustomBannerConfigProps);
    private onEnabledChange;
    private onTextChange;
    private onTextColorChange;
    private onBackgroundColorChange;
    private addBanner;
    private removeBanner;
    private isDirty;
    private onRevertClicked;
    private onSaveClicked;
    private colorOptionRenderer;
    render(): JSX.Element;
}
