import { type SyntheticEvent } from 'react'; export type AnchorType = Element | null | undefined; export type UsePopoverResult = { isOpen: boolean; anchor: AnchorType; actions: { open: (event: SyntheticEvent) => void; close: () => void; }; }; export declare const usePopover: () => UsePopoverResult;