import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; export type MenuActionState = 'on' | 'off'; export interface MenuActionAttributes { destructive?: boolean; disabled?: boolean; hidden?: boolean; } export interface MenuAction { id?: string; title: string; state?: MenuActionState; attributes?: MenuActionAttributes; subactions?: MenuAction[]; displayInline?: boolean; } export interface MenuActionEvent { nativeEvent: { event: string; }; } export interface MenuViewProps { actions: MenuAction[]; onPressAction?: (event: MenuActionEvent) => void; onOpenMenu?: () => void; onCloseMenu?: () => void; shouldOpenOnLongPress?: boolean; title?: string; style?: StyleProp; testID?: string; children?: React.ReactNode; } export type MenuView = React.ComponentType; export declare class MenuAdapter { View: MenuView; isConfigured: boolean; constructor(methods?: { View: MenuView; }); } //# sourceMappingURL=menu.d.ts.map