import * as React from "react"; import * as FlyOutMenuPrimitive from "@radix-ui/react-dropdown-menu"; import classNames from "classnames"; export declare function cn(...inputs: classNames.ArgumentArray): string; type OmitDisabled = Omit; declare const FlyOutMenuRoot: (props: React.ComponentPropsWithoutRef) => React.JSX.Element; /** * The child of this component should accept a `ref` prop, otherwise * the menu will not work correctly. */ declare const FlyOutMenuTrigger: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const FlyOutMenuGroup: React.ForwardRefExoticComponent>; declare const FlyOutMenuPortal: React.FC; declare const FlyOutMenuContent: React.ForwardRefExoticComponent, "ref"> & { /** * An optional DOM element to render the FlyOutMenu in using a portal. * * When omitted the FlyOutMenu will be rendered into `document.body`. */ container?: React.ComponentProps["container"]; } & React.RefAttributes>; declare const FlyOutMenuItem: React.ForwardRefExoticComponent, "ref"> & { icon?: React.ReactNode; }> & React.RefAttributes>; declare const FlyOutMenuLabel: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const FlyOutMenuSeparator: React.ForwardRefExoticComponent, "ref"> & { color?: "divider" | "interactive"; } & React.RefAttributes>; type ButtonItemProps = React.ComponentPropsWithoutRef & { /** * @deprecated use leadingIcon instead */ icon?: React.ReactNode; children?: React.ReactNode; leadingIcon?: React.ReactNode; trailingIcon?: React.ReactNode; }; declare const FlyOutMenuButtonItem: (props: OmitDisabled) => React.JSX.Element; declare const FlyOutMenuChildrenItem: (props: OmitDisabled & { icon?: React.ReactNode; }>) => React.JSX.Element; type SwitchItemProps = React.ComponentPropsWithoutRef & { icon?: React.ReactNode; children?: React.ReactNode; /** * Component to show to indicate whether the item is checked. * If not provided, the default switch indicator will be used. */ checkedIndicator?: React.ReactNode; }; declare const FlyOutMenuSwitchItem: React.ForwardRefExoticComponent & React.RefAttributes>; export declare const FlyOutMenu: { Root: typeof FlyOutMenuRoot; Trigger: typeof FlyOutMenuTrigger; Content: typeof FlyOutMenuContent; Group: typeof FlyOutMenuGroup; Label: typeof FlyOutMenuLabel; Separator: typeof FlyOutMenuSeparator; Portal: typeof FlyOutMenuPortal; ButtonItem: typeof FlyOutMenuButtonItem; SwitchItem: typeof FlyOutMenuSwitchItem; ChildrenItem: typeof FlyOutMenuChildrenItem; }; export {};