import { type ForwardedRef } from 'react'; type UseSidePaneStateController = { open?: boolean; onClose?: () => void; ref?: ForwardedRef; }; /** * Custom hook to control the open/close state of a SidePane. * * This hook provides functionality to open or close a SidePane based on the `open` flag. * * @param options - The options for controlling the SidePane state. * * @param options.open - Flag indicating if the SidePane should be open. * * @param options.onClose - Callback function to execute when closing the SidePane. * * @returns Object containing functions to handle closing the SidePane and ref Object to attach Dialog element. */ export declare function useSidePaneStateController({ open, onClose, ref }: UseSidePaneStateController): { localOpen: boolean | undefined; handleCloseSidePane: () => void; handleStopCloseSidePane: (event: React.MouseEvent) => void; sidePaneElement: HTMLDivElement | null; setSidePaneElement: (element: HTMLDivElement | null) => void; }; export {};