/** * @upsetjs/react * https://github.com/upsetjs/upsetjs * * Copyright (c) 2021 Samuel Gratzl */ import type { ISetLike } from '@upsetjs/model'; import type { UpSetAddons } from '../interfaces'; export declare type UpSetSelection = { onMouseEnter( selection: ISetLike, addons: UpSetAddons, any, any> ): ((evt: React.MouseEvent) => void) | undefined; onMouseLeave: ((evt: React.MouseEvent) => void) | undefined; onClick( selection: ISetLike, addons: UpSetAddons, any, any> ): ((evt: React.MouseEvent) => void) | undefined; onMouseMove( selection: ISetLike, addons: UpSetAddons, any, any> ): ((evt: React.MouseEvent) => void) | undefined; onContextMenu( selection: ISetLike, addons: UpSetAddons, any, any> ): ((evt: React.MouseEvent) => void) | undefined; };