import { type ReactNode } from 'react'; /** * Hook to manage the visibility state of the controlled panel. * * @param isOpen - Controlled visibility state (optional) * * @param controlledPanelSlot - The content of the controlled panel (left or right depending on targetPanel) * * @returns Object containing visibility state and related refs */ export declare function useSplitViewPanelVisibility(isOpen: boolean | undefined, controlledPanelSlot: ReactNode): { isRightPanelVisible: boolean; isInitialMountRef: import("react").RefObject; wasRightPanelVisibleOnMountRef: import("react").RefObject; hasRightPanelBeenVisible: boolean; setHasRightPanelBeenVisible: import("react").Dispatch>; previousIsRightPanelVisibleRef: import("react").RefObject; lastRightPanelRef: import("react").RefObject; };