import type { StackToolbarButtonProps } from './types'; import type { NativeStackHeaderItemButton } from '../../../../react-navigation/native-stack'; export type { StackToolbarButtonProps, NativeToolbarButtonProps } from './types'; /** * A button used inside `Stack.Toolbar`. * * @example * ```tsx * import { Stack } from 'expo-router'; * * export default function Layout() { * return ( * * * * alert('Left pressed')} /> * * * * ); * } * ``` * * @example * ```tsx * import { Stack } from 'expo-router'; * * export default function Page() { * return ( * <> * * alert('Left pressed')} /> * * * * ); * } * ``` * * @platform android * @platform ios */ export declare const StackToolbarButton: React.FC; export declare function convertStackToolbarButtonPropsToRNHeaderItem(props: StackToolbarButtonProps): NativeStackHeaderItemButton | undefined; //# sourceMappingURL=index.d.ts.map