/// <reference types="react" />
import { type ProductSwitcherProps, type WidgetProduct } from '../types';
export declare const useLogic: ({ getProducts, filter }: ProductSwitcherProps) => {
    anchorRef: import("react").MutableRefObject<HTMLButtonElement | null>;
    openMenu: () => void;
    closeMenu: () => void;
    isLoading: boolean;
    isError: boolean;
    products: WidgetProduct[];
    open: boolean;
};
