import type { StackToolbarMenuProps, StackToolbarMenuActionProps } from './types';
import type { NativeStackHeaderItemMenu, NativeStackHeaderItemMenuAction } from '../../../../react-navigation/native-stack';
export type { StackToolbarMenuProps, NativeToolbarMenuProps, StackToolbarMenuActionProps, NativeToolbarMenuActionProps, } from './types';
/**
* Use as `Stack.Toolbar.Menu` to provide menus in the toolbar.
* It accepts `Stack.Toolbar.MenuAction` and nested `Stack.Toolbar.Menu`
* elements. Menu can be configured using both component props and child
* elements.
*
* @example
* ```tsx
* import { Stack } from 'expo-router';
* import { Alert } from 'react-native';
*
* export default function Page() {
* return (
* <>
*
*
* Alert.alert('Action pressed!')}>
* Action 1
*
*
*
*
* >
* );
* }
* ```
*
* > **Note (Android):** The root `icon` must be an `ImageSourcePropType` (use a
* > `require()` or `{ uri }` source, or ``); SF Symbols
* > and `xcasset` icons are silently dropped.
*
* @see [Human Interface Guidelines](https://developer.apple.com/design/human-interface-guidelines/menus) for more information about menus on iOS.
*
* @platform android
* @platform ios
*/
export declare const StackToolbarMenu: React.FC;
export declare function convertStackToolbarMenuPropsToRNHeaderItem(props: StackToolbarMenuProps, isBottomPlacement?: boolean): NativeStackHeaderItemMenu | undefined;
/**
* An action item for a `Stack.Toolbar.Menu`.
*
* @example
* ```tsx
* import { Stack } from 'expo-router';
*
* export default function Page() {
* return (
* <>
*
*
* alert('Action pressed!')}>
* Action 1
*
*
*
*
* >
* );
* }
* ```
*
* @platform android
* @platform ios
*/
export declare const StackToolbarMenuAction: React.FC;
export declare function convertStackToolbarMenuActionPropsToRNHeaderItem(props: StackToolbarMenuActionProps): NativeStackHeaderItemMenuAction;
//# sourceMappingURL=index.d.ts.map