/**
 * Copyright IBM Corp. 2025, 2026
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */
import { type RefObject } from 'react';
export declare const usePresence: (ref: RefObject<HTMLElement | null>, isOpen: boolean) => {
    /**
     * Indicates whether the ref object is supposed to be mounted
     */
    isPresent: boolean;
    /**
     * Indicates whether the ref object is currently exiting
     */
    isExiting: boolean;
};
