import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'; import * as React_2 from 'react'; export declare type AccountDropdownActionItem = { type?: 'action'; id: string; label: string; icon?: React_2.ReactNode; onClick: () => void; /** Second line (e.g. "ID: xyz"); copy button shown when copyValue is set. */ secondaryLabel?: React_2.ReactNode; copyValue?: string; onCopy?: (value: string) => void; /** Keyboard shortcut hint (e.g. "⌘K") shown on the right. */ shortcut?: string; }; export declare type AccountDropdownItem = AccountDropdownActionItem | AccountDropdownSubmenuItem; declare interface AccountDropdownProps extends React_2.ComponentPropsWithoutRef { accountPhoto: string; accountName: string; /** Pass a flat array for a single group, or an array of arrays for multiple groups separated by dividers. */ accountDropdownItems: AccountDropdownItem[] | AccountDropdownItem[][]; teams: AccountDropdownTeam[]; /** Side the dropdown opens on relative to the trigger. Defaults to 'bottom'. */ side?: React_2.ComponentPropsWithoutRef['side']; /** Alignment of the dropdown relative to the trigger. Defaults to 'end'. */ align?: React_2.ComponentPropsWithoutRef['align']; isSuperAdmin?: boolean; } /** Sub-option with a required `value`, used in radio-mode submenus. */ export declare type AccountDropdownRadioSubOption = Omit & { value: string; }; declare type AccountDropdownSubmenuBase = { type: 'submenu'; id: string; label: string; icon?: React_2.ReactNode; /** Second line on the submenu trigger (e.g. "ID: xyz"); copy button when copyValue is set. */ secondaryLabel?: React_2.ReactNode; copyValue?: string; onCopy?: (value: string) => void; }; export declare type AccountDropdownSubmenuItem = AccountDropdownSubmenuBase & ({ /** The currently selected value. When provided with onValueChange, renders items as a radio group with selection indicators. */ value: string; onValueChange: (value: string) => void; items: AccountDropdownRadioSubOption[]; } | { value?: never; onValueChange?: never; items: AccountDropdownSubOption[]; }); export declare type AccountDropdownSubOption = { id: string; label: string; icon?: React_2.ReactNode; /** Required for radio mode. */ value?: string; /** Used in plain (non-radio) mode. */ onClick?: () => void; /** Keyboard shortcut hint (e.g. "⌘K") shown on the right. */ shortcut?: string; }; export declare type AccountDropdownTeam = { id: string; name: string; isCurrent: boolean; logoUrl?: string; }; declare const DropdownMenu: React_2.FC; declare const DropdownMenuContent: React_2.ForwardRefExoticComponent, "ref"> & React_2.RefAttributes>; export declare const HEADER_NAV_HEIGHT = 60; export declare const HeaderNav: React_2.ForwardRefExoticComponent>; declare interface HeaderNavProps extends React_2.ComponentPropsWithoutRef<'header'>, Omit { isSideNavOpen?: boolean; onSideNavigationToggle: () => void; onHelpClick: () => void; onBrainfishNativeClick: () => void; onLogoNav: () => void; isHomePath?: boolean; showSuggestionAction?: boolean; suggestionAction?: React_2.ReactNode; onSuggestionActionClick?: () => void; showSidebarToggle?: boolean; isSuperAdmin?: boolean; isViewer?: boolean; /** Ref for the sidebar toggle button; used by layout to move focus here when sidebar is collapsed. */ sidebarToggleRef?: React_2.Ref; } export { }