import type { ReactNode } from 'react'; import type { StyleXStyles } from '@stylexjs/stylex'; type IStyles = StyleXStyles<{ padding?: string; margin?: string; fontSize?: string; backgroundColor?: string; }>; export type Position = { top?: string | number; right?: string | number; bottom?: string | number; left?: string | number; }; export interface IMenu { isOpen: boolean; children: ReactNode; onClose: () => void; position?: Position; style?: IStyles; ariaLabel?: string; ariaOrientation?: 'horizontal' | 'vertical'; onFocus?: (event: React.FocusEvent) => void; onBlur?: (event: React.FocusEvent) => void; onKeyDown?: (event: React.KeyboardEvent) => void; } export {};