import { type ForwardedRef } from 'react';
type UseLogicParams = {
    isPopupOpen: boolean;
    setIsPopupOpen: (isPopoverOpen: boolean) => void;
    ref: ForwardedRef<HTMLButtonElement>;
};
export declare const useLogic: ({ setIsPopupOpen, isPopupOpen, ref, }: UseLogicParams) => {
    handleTogglePopover: () => void;
    popoverAnchorRef: import("react").RefObject<HTMLButtonElement | null>;
};
export {};
