/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ import type { Style } from '../../types/styles'; type InteractionHandlers = { onBlur?: () => void; onFocus?: () => void; onMouseEnter?: () => void; onMouseLeave?: () => void; onPointerCancel?: () => void; onPointerDown?: () => void; onPointerEnter?: () => void; onPointerLeave?: () => void; onPointerUp?: () => void; }; type Interaction = { active: boolean; focus: boolean; hover: boolean; handlers: null | undefined | InteractionHandlers; }; export declare function usePseudoStates(style: Style): Interaction;