import type { CodegenTypes as CT, HostComponent, ViewProps } from 'react-native'; import { PlatformIconIOS } from './StackHeaderItemIOSNativeComponent'; import { UnsafeMixed } from '../../codegenUtils'; export type MenuItemPressEvent = Readonly<{ menuItemId: string; }>; export type MenuSelectionChangeEvent = Readonly<{ menuId: string; selectedMenuItemIds: string[]; }>; export interface NativeProps extends ViewProps { title?: string | undefined; subtitle?: string | undefined; hidden?: CT.WithDefault; transparent?: CT.WithDefault; backButtonHidden?: CT.WithDefault; largeTitle?: string | undefined; largeSubtitle?: string | undefined; largeTitleEnabled?: CT.WithDefault; onMenuItemPress?: CT.DirectEventHandler | undefined; onMenuSelectionChange?: CT.DirectEventHandler | undefined; } type ComponentType = HostComponent; export interface NativeMenuElementOptionsIOS { title?: string | null | undefined; icon?: UnsafeMixed | null | undefined; toggleState?: boolean | undefined; } export interface NativeCommands { setMenuItemOptions: (viewRef: React.ComponentRef, menuElementId: string, options: NativeMenuElementOptionsIOS[]) => void; setMenuOptions: (viewRef: React.ComponentRef, menuElementId: string, options: NativeMenuElementOptionsIOS[]) => void; } export declare const Commands: NativeCommands; declare const _default: HostComponent; export default _default; //# sourceMappingURL=StackHeaderConfigIOSNativeComponent.d.ts.map