import * as React from 'react'; import { View, ViewStyle, StyleProp } from 'react-native'; declare type Props = Partial> & { /** * Whether the background color is a dark color. A dark appbar will render light text and vice-versa. */ dark?: boolean; /** * Content of the `Appbar`. */ children: React.ReactNode; /** * @optional */ theme: ReactNativePaper.Theme; style?: StyleProp; }; export declare const DEFAULT_APPBAR_HEIGHT = 56; declare const _default: React.ComponentType> & { /** * Whether the background color is a dark color. A dark appbar will render light text and vice-versa. */ dark?: boolean | undefined; /** * Content of the `Appbar`. */ children: React.ReactNode; /** * @optional */ theme: ReactNativePaper.Theme; style?: StyleProp; }, keyof import("react-native").ViewProps | "dark" | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics> & { /** * Whether the background color is a dark color. A dark appbar will render light text and vice-versa. */ dark?: boolean | undefined; /** * Content of the `Appbar`. */ children: React.ReactNode; /** * @optional */ theme: ReactNativePaper.Theme; style?: StyleProp; }> & (({ children, dark, style, theme, ...rest }: Props) => JSX.Element), {}>; export default _default; declare const AppbarWithTheme: React.ComponentType> & { /** * Whether the background color is a dark color. A dark appbar will render light text and vice-versa. */ dark?: boolean | undefined; /** * Content of the `Appbar`. */ children: React.ReactNode; /** * @optional */ theme: ReactNativePaper.Theme; style?: StyleProp; }, keyof import("react-native").ViewProps | "dark" | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics> & { /** * Whether the background color is a dark color. A dark appbar will render light text and vice-versa. */ dark?: boolean | undefined; /** * Content of the `Appbar`. */ children: React.ReactNode; /** * @optional */ theme: ReactNativePaper.Theme; style?: StyleProp; }> & (({ children, dark, style, theme, ...rest }: Props) => JSX.Element), {}>; export { AppbarWithTheme as Appbar };