import * as React from 'react'; import { PaperProps as MuiPaperProps } from '@material-ui/core/Paper'; import { PopperProps as MuiPopperProps } from '@material-ui/core/Popper'; import { TrapFocusProps as MuiTrapFocusProps } from '@material-ui/core/Unstable_TrapFocus'; import { TransitionProps as MuiTransitionProps } from '@material-ui/core/transitions'; export interface ExportedPickerPopperProps { /** * Popper props passed down to [Popper](https://material-ui.com/api/popper/) component. */ PopperProps?: Partial; /** * Custom component for popper [Transition](https://material-ui.com/components/transitions/#transitioncomponent-prop). */ TransitionComponent?: React.JSXElementConstructor; } export interface PickerPopperProps extends ExportedPickerPopperProps, MuiPaperProps { role: 'tooltip' | 'dialog'; TrapFocusProps?: Partial; anchorEl: MuiPopperProps['anchorEl']; open: MuiPopperProps['open']; containerRef?: React.Ref; onClose: () => void; } declare const PickersPopper: (props: PickerPopperProps) => JSX.Element; export default PickersPopper;