import { HeaderBackButtonProps } from '@bluebase/components';
import React from 'react';
import { Theme } from '../../registries';
export interface HeaderBackButtonState {
    initialTextWidth?: number;
}
declare class HeaderBackButton extends React.PureComponent<HeaderBackButtonProps, HeaderBackButtonState> {
    static defaultProps: {
        defaultStyles: {};
        pressColorAndroid: string;
        truncatedTitle: string;
    };
    state: HeaderBackButtonState;
    static defaultStyles: (theme: Theme) => {
        androidButtonWrapper: {
            backgroundColor: string;
            margin: number;
        };
        icon: {
            backgroundColor: string;
            height: number;
            marginLeft: number;
            marginRight: number;
            marginVertical: number;
            resizeMode: string;
            transform: {
                scaleX: number;
            }[];
            width: number;
        } | {
            backgroundColor: string;
            height: number;
            margin: number;
            resizeMode: string;
            transform: {
                scaleX: number;
            }[];
            width: number;
        };
        iconWithTitle: {
            marginRight: number;
        } | {
            marginRight?: undefined;
        };
        title: {
            color: string;
            fontSize: number;
            paddingRight: number;
        };
        wrapper: {
            alignItems: string;
            backgroundColor: string;
            flexDirection: string;
        };
    };
    _onTextLayout: (e: any) => void;
    _renderBackImage(): JSX.Element | React.ReactElement<{}>;
    _getTitleText: () => string | null | undefined;
    _maybeRenderTitle(): JSX.Element | null;
    render(): JSX.Element;
}
export { HeaderBackButton };
