import { ReactNode } from 'react'; import { CSSObject } from '@emotion/react'; import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'; /** * A dropdown menu component that provides a customizable and accessible dropdown interface. * Built on top of accessible primitives, it offers a flexible way to display * contextual actions and navigation options. * * Disclaimer: Custom trigger components (with asChild) must accept id, aria-haspopup, aria-expanded, and data-state props. * * Example: * ```tsx * * Open Menu * * Item 1 * Item 2 * * * ``` * * With custom trigger: * ```tsx * * * * * * Item 1 * Item 2 * * * ``` * */ export declare const DropdownMenu: { ({ children }: { children: ReactNode; }): import("@emotion/react/jsx-runtime").JSX.Element; Trigger: ({ children, asChild, cssObj, }: { children: ReactNode; asChild?: boolean; cssObj?: CSSObject; }) => import("@emotion/react/jsx-runtime").JSX.Element; Content: ({ children }: { children: ReactNode; }) => import("@emotion/react/jsx-runtime").JSX.Element; Item: ({ children, onClick }: { children: ReactNode; onClick: () => void; }) => import("@emotion/react/jsx-runtime").JSX.Element; SubTrigger: import("react").ForwardRefExoticComponent>; SubContent: import("react").ForwardRefExoticComponent>; Sub: import("react").FC; }; //# sourceMappingURL=DropdownMenu.d.ts.map