import React from 'react'; import { TextStyle, StyleProp, TextProps, ViewProps, StatusBarProps, StatusBarStyle, ImageSourcePropType, ImageStyle, ViewStyle } from 'react-native'; import { RneFunctionComponent } from '../helpers'; import { IconObject } from '../icons/Icon'; interface HeaderIcon extends IconObject { icon?: string; text?: string; color?: string; style?: StyleProp; } declare type HeaderSubComponent = React.ReactElement<{}> | TextProps | HeaderIcon; export declare type HeaderProps = ViewProps & { ViewComponent?: typeof React.Component; linearGradientProps?: Object; statusBarProps?: StatusBarProps; barStyle?: StatusBarStyle; leftComponent?: HeaderSubComponent; centerComponent?: HeaderSubComponent; rightComponent?: HeaderSubComponent; backgroundColor?: string; backgroundImage?: ImageSourcePropType; backgroundImageStyle?: ImageStyle; placement?: 'left' | 'center' | 'right'; containerStyle?: StyleProp; centerContainerStyle?: StyleProp; leftContainerStyle?: StyleProp; rightContainerStyle?: StyleProp; children?: JSX.Element[]; elevated?: boolean; }; declare const Header: RneFunctionComponent; export { Header }; declare const _default: React.FunctionComponent> | React.ForwardRefExoticComponent; export default _default;