import type { StackToolbarViewProps } from './types'; import type { NativeStackHeaderItemCustom } from '../../../../react-navigation/native-stack'; export type { StackToolbarViewProps, NativeToolbarViewProps } from './types'; /** * A wrapper to render custom content in the toolbar. * * Use inside `Stack.Toolbar` to render a custom React element. * * @example * ```tsx * import { Stack } from 'expo-router'; * import { Text } from 'react-native'; * * function CustomElement() { * return Custom Element; * } * * export default function Page() { * return ( * <> * * * * * * * * ); * } * ``` * * @platform android * @platform ios */ export declare const StackToolbarView: React.FC; export declare function convertStackToolbarViewPropsToRNHeaderItem(props: StackToolbarViewProps): NativeStackHeaderItemCustom | undefined; //# sourceMappingURL=index.d.ts.map