import * as React from 'react'; import type { IconProps } from '@planview/pv-icons'; import type { DropdownTriggerProps } from '@planview/pv-uikit'; import type { MoreMenuChildType } from '../utils/context'; export declare const COLLAPSE_BELOW = "below"; export declare const COLLAPSE_ABOVE = "above"; export type ToolbarMoreMenuProps = { /** Custom icon component for use to override the icon in the more-menu dropdown trigger (which internally uses ToolbarButtonEmpty) */ icon?: React.ReactElement; /** Content to render. Accepts any valid child of a List from the ui-kit */ children: MoreMenuChildType[] | MoreMenuChildType; /** Where to add items collapsed into more menu, above or below the given content */ collapse?: typeof COLLAPSE_ABOVE | typeof COLLAPSE_BELOW; }; /** * * `import { ToolbarMoreMenu } from '@planview/pv-toolbar'` * * In some cases you need the more menu at all times present with items already added in the \`ToolbarSectionRight\`. * Use the \`ToolbarMoreMenu\` component to handle this. * * The component let's you: * - Set your own default dropdown content (all ui-kit dropdown components are valid children) * - Set your custom icon for the dropdown-trigger * * By default, all subsequent collapsed content from the toolbar section will be moved __above__ the default content, but this can be changed using the \`collapse\` prop * * _Note: this component **only** works as a child of the \`ToolbarSectionRight\` component_ * */ export declare function ToolbarMoreMenu({ children, icon, collapse, }: ToolbarMoreMenuProps): null; export declare const MoreMenuButton: React.ForwardRefExoticComponent & { label?: string; icon: React.ReactElement; activated: boolean; } & React.RefAttributes>; //# sourceMappingURL=more.d.ts.map