import { OnClose, OverlayOptions, OverlayProps } from '~/components/Overlay'; import { ComponentType } from 'react'; import { PropsEventHandler, PositionProps } from '../../types'; export declare function useOverlay

(Component: ComponentType

, // hint to geuss from useOverlay props?: P, positionProps?: PositionProps, handler?: (selection: Event | any) => OnClose | undefined, Overlay?: ComponentType>, options?: OverlayOptions, callBackRef?: null | any[]): PropsEventHandler; //# sourceMappingURL=index.d.ts.map