import { Popover as PopoverPrimitive } from "radix-ui"; import type { Scope } from "@radix-ui/react-context"; export const usePopoverScope: ReturnType< typeof PopoverPrimitive.createPopoverScope > = PopoverPrimitive.createPopoverScope(); export type ScopedProps

= P & { __scopeAssistantModal?: Scope };