import * as React from 'react'; import { StyleProp, View, ViewStyle } from 'react-native'; import { Appbar } from './Appbar'; declare type Props = React.ComponentProps & { /** * Whether the background color is a dark color. A dark header will render light text and vice-versa. */ dark?: boolean; /** * Extra padding to add at the top of header to account for translucent status bar. * This is automatically handled on iOS >= 11 including iPhone X using `SafeAreaView`. * If you are using Expo, we assume translucent status bar and set a height for status bar automatically. * Pass `0` or a custom value to disable the default behaviour, and customize the height. */ statusBarHeight?: number; /** * Content of the header. */ children: React.ReactNode; /** * @optional */ theme: ReactNativePaper.Theme; style?: StyleProp; }; declare const _default: React.ComponentType<(Pick> & { dark?: boolean | undefined; children: React.ReactNode; theme: ReactNativePaper.Theme; style?: StyleProp; }, keyof import("react-native").ViewProps | "dark" | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; } & { /** * Whether the background color is a dark color. A dark header will render light text and vice-versa. */ dark?: boolean | undefined; /** * Extra padding to add at the top of header to account for translucent status bar. * This is automatically handled on iOS >= 11 including iPhone X using `SafeAreaView`. * If you are using Expo, we assume translucent status bar and set a height for status bar automatically. * Pass `0` or a custom value to disable the default behaviour, and customize the height. */ statusBarHeight?: number | undefined; /** * Content of the header. */ children: React.ReactNode; /** * @optional */ theme: ReactNativePaper.Theme; style?: StyleProp; }, keyof import("react-native").ViewProps | "dark" | keyof React.RefAttributes | "statusBarHeight"> | Pick> & { dark?: boolean | undefined; children: React.ReactNode; theme: ReactNativePaper.Theme; style?: StyleProp; }, keyof import("react-native").ViewProps | "dark" | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; } & { children?: React.ReactNode; } & { /** * Whether the background color is a dark color. A dark header will render light text and vice-versa. */ dark?: boolean | undefined; /** * Extra padding to add at the top of header to account for translucent status bar. * This is automatically handled on iOS >= 11 including iPhone X using `SafeAreaView`. * If you are using Expo, we assume translucent status bar and set a height for status bar automatically. * Pass `0` or a custom value to disable the default behaviour, and customize the height. */ statusBarHeight?: number | undefined; /** * Content of the header. */ children: React.ReactNode; /** * @optional */ theme: ReactNativePaper.Theme; style?: StyleProp; }, keyof import("react-native").ViewProps | "dark" | keyof React.RefAttributes | "statusBarHeight">) & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics & { (props: Props): JSX.Element; displayName: string; }, {}>; export default _default; declare const AppbarHeaderWithTheme: React.ComponentType<(Pick> & { dark?: boolean | undefined; children: React.ReactNode; theme: ReactNativePaper.Theme; style?: StyleProp; }, keyof import("react-native").ViewProps | "dark" | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; } & { /** * Whether the background color is a dark color. A dark header will render light text and vice-versa. */ dark?: boolean | undefined; /** * Extra padding to add at the top of header to account for translucent status bar. * This is automatically handled on iOS >= 11 including iPhone X using `SafeAreaView`. * If you are using Expo, we assume translucent status bar and set a height for status bar automatically. * Pass `0` or a custom value to disable the default behaviour, and customize the height. */ statusBarHeight?: number | undefined; /** * Content of the header. */ children: React.ReactNode; /** * @optional */ theme: ReactNativePaper.Theme; style?: StyleProp; }, keyof import("react-native").ViewProps | "dark" | keyof React.RefAttributes | "statusBarHeight"> | Pick> & { dark?: boolean | undefined; children: React.ReactNode; theme: ReactNativePaper.Theme; style?: StyleProp; }, keyof import("react-native").ViewProps | "dark" | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; } & { children?: React.ReactNode; } & { /** * Whether the background color is a dark color. A dark header will render light text and vice-versa. */ dark?: boolean | undefined; /** * Extra padding to add at the top of header to account for translucent status bar. * This is automatically handled on iOS >= 11 including iPhone X using `SafeAreaView`. * If you are using Expo, we assume translucent status bar and set a height for status bar automatically. * Pass `0` or a custom value to disable the default behaviour, and customize the height. */ statusBarHeight?: number | undefined; /** * Content of the header. */ children: React.ReactNode; /** * @optional */ theme: ReactNativePaper.Theme; style?: StyleProp; }, keyof import("react-native").ViewProps | "dark" | keyof React.RefAttributes | "statusBarHeight">) & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics & { (props: Props): JSX.Element; displayName: string; }, {}>; export { AppbarHeaderWithTheme as AppbarHeader };