/// import { IconPropSize } from '../../icons/_Icon/Icon'; import { TextPropSize } from '../Typography/Typography'; import { ContextMenuGroupDefault, ContextMenuItemDefault, ContextMenuPropGetGroupId, ContextMenuPropGetGroupLabel, ContextMenuPropGetItemAs, ContextMenuPropGetItemAttributes, ContextMenuPropGetItemDisabled, ContextMenuPropGetItemGroupId, ContextMenuPropGetItemKey, ContextMenuPropGetItemLabel, ContextMenuPropGetItemLeftIcon, ContextMenuPropGetItemLeftSide, ContextMenuPropGetItemOnClick, ContextMenuPropGetItemRightIcon, ContextMenuPropGetItemRightSide, ContextMenuPropGetItemStatus, ContextMenuPropGetItemSubMenu, ContextMenuProps, ContextMenuPropSize, GetLevelsParams, Level, MappersGroup } from './types'; export declare function withDefaultGetters(props: ContextMenuProps): ({ items: ITEM[]; size?: "xs" | "s" | "m" | "l" | undefined; direction?: "downCenter" | "upCenter" | "downRight" | "downLeft" | "upRight" | "upLeft" | "leftUp" | "leftCenter" | "leftDown" | "rightUp" | "rightCenter" | "rightDown" | "downStartLeft" | "upStartLeft" | "downStartRight" | "upStartRight" | "leftStartUp" | "leftStartDown" | "rightStartUp" | "rightStartDown" | undefined; offset?: import("../Popover/Popover").PopoverPropOffset | undefined; groups?: GROUP[] | undefined; sortGroup?: import("./types").ContextMenuPropSortGroup | undefined; onItemClick?: import("./types").ContextMenuPropOnClick | undefined; possibleDirections?: readonly ("downCenter" | "upCenter" | "downRight" | "downLeft" | "upRight" | "upLeft" | "leftUp" | "leftCenter" | "leftDown" | "rightUp" | "rightCenter" | "rightDown" | "downStartLeft" | "upStartLeft" | "downStartRight" | "upStartRight" | "leftStartUp" | "leftStartDown" | "rightStartUp" | "rightStartDown")[] | undefined; subMenuDirection?: "leftStartUp" | "leftStartDown" | "rightStartUp" | "rightStartDown" | undefined; spareDirection?: "downCenter" | "upCenter" | "downRight" | "downLeft" | "upRight" | "upLeft" | "leftUp" | "leftCenter" | "leftDown" | "rightUp" | "rightCenter" | "rightDown" | "downStartLeft" | "upStartLeft" | "downStartRight" | "upStartRight" | "leftStartUp" | "leftStartDown" | "rightStartUp" | "rightStartDown" | undefined; onSetDirection?: ((direction: "downCenter" | "upCenter" | "downRight" | "downLeft" | "upRight" | "upLeft" | "leftUp" | "leftCenter" | "leftDown" | "rightUp" | "rightCenter" | "rightDown" | "downStartLeft" | "upStartLeft" | "downStartRight" | "upStartRight" | "leftStartUp" | "leftStartDown" | "rightStartUp" | "rightStartDown") => void) | undefined; onClickOutside?: import("../../hooks/useClickOutside/useClickOutside").ClickOutsideHandler | undefined; isOpen?: boolean | undefined; theme?: "primary" | "secondary" | undefined; } & import("./types").MappersItem & MappersGroup & { anchorRef: import("react").RefObject; position?: undefined; } & Omit, "css" | "size" | "direction" | "offset" | "position" | "items" | "groups" | "isOpen" | "possibleDirections" | "spareDirection" | "onClickOutside" | "onSetDirection" | "anchorRef" | "theme" | "sortGroup" | "onItemClick" | "subMenuDirection" | keyof import("./types").MappersItem | keyof MappersGroup> & import("react").RefAttributes & (GROUP extends { id: unknown; } ? {} : { getGroupId: ContextMenuPropGetGroupId; }) & (ITEM extends { label: import("react").ReactNode; } ? {} : { getItemLabel: ContextMenuPropGetItemLabel; }) & { getItemKey: ContextMenuPropGetItemKey | ContextMenuPropGetItemKey; getItemLabel: ContextMenuPropGetItemLabel | ContextMenuPropGetItemLabel; getItemRightSide: ContextMenuPropGetItemRightSide | ContextMenuPropGetItemRightSide; getItemLeftSide: ContextMenuPropGetItemLeftSide | ContextMenuPropGetItemLeftSide; getItemRightIcon: ContextMenuPropGetItemRightIcon | ContextMenuPropGetItemRightIcon; getItemLeftIcon: ContextMenuPropGetItemLeftIcon | ContextMenuPropGetItemLeftIcon; getItemSubMenu: ContextMenuPropGetItemSubMenu | ContextMenuPropGetItemSubMenu; getItemStatus: ContextMenuPropGetItemStatus | ContextMenuPropGetItemStatus; getItemDisabled: ContextMenuPropGetItemDisabled | ContextMenuPropGetItemDisabled; getItemOnClick: ContextMenuPropGetItemOnClick | ContextMenuPropGetItemOnClick; getItemAs: ContextMenuPropGetItemAs | ContextMenuPropGetItemAs; getItemAttributes: ContextMenuPropGetItemAttributes | ContextMenuPropGetItemAttributes; getItemGroupId: ContextMenuPropGetItemGroupId | ContextMenuPropGetItemGroupId; getGroupId: ContextMenuPropGetGroupId | ContextMenuPropGetGroupId; getGroupLabel: ContextMenuPropGetGroupLabel | ContextMenuPropGetGroupLabel; }) | ({ items: ITEM[]; size?: "xs" | "s" | "m" | "l" | undefined; direction?: "downCenter" | "upCenter" | "downRight" | "downLeft" | "upRight" | "upLeft" | "leftUp" | "leftCenter" | "leftDown" | "rightUp" | "rightCenter" | "rightDown" | "downStartLeft" | "upStartLeft" | "downStartRight" | "upStartRight" | "leftStartUp" | "leftStartDown" | "rightStartUp" | "rightStartDown" | undefined; offset?: import("../Popover/Popover").PopoverPropOffset | undefined; groups?: GROUP[] | undefined; sortGroup?: import("./types").ContextMenuPropSortGroup | undefined; onItemClick?: import("./types").ContextMenuPropOnClick | undefined; possibleDirections?: readonly ("downCenter" | "upCenter" | "downRight" | "downLeft" | "upRight" | "upLeft" | "leftUp" | "leftCenter" | "leftDown" | "rightUp" | "rightCenter" | "rightDown" | "downStartLeft" | "upStartLeft" | "downStartRight" | "upStartRight" | "leftStartUp" | "leftStartDown" | "rightStartUp" | "rightStartDown")[] | undefined; subMenuDirection?: "leftStartUp" | "leftStartDown" | "rightStartUp" | "rightStartDown" | undefined; spareDirection?: "downCenter" | "upCenter" | "downRight" | "downLeft" | "upRight" | "upLeft" | "leftUp" | "leftCenter" | "leftDown" | "rightUp" | "rightCenter" | "rightDown" | "downStartLeft" | "upStartLeft" | "downStartRight" | "upStartRight" | "leftStartUp" | "leftStartDown" | "rightStartUp" | "rightStartDown" | undefined; onSetDirection?: ((direction: "downCenter" | "upCenter" | "downRight" | "downLeft" | "upRight" | "upLeft" | "leftUp" | "leftCenter" | "leftDown" | "rightUp" | "rightCenter" | "rightDown" | "downStartLeft" | "upStartLeft" | "downStartRight" | "upStartRight" | "leftStartUp" | "leftStartDown" | "rightStartUp" | "rightStartDown") => void) | undefined; onClickOutside?: import("../../hooks/useClickOutside/useClickOutside").ClickOutsideHandler | undefined; isOpen?: boolean | undefined; theme?: "primary" | "secondary" | undefined; } & import("./types").MappersItem & MappersGroup & { anchorRef?: undefined; position: import("../Popover/Popover").Position; } & Omit, "css" | "size" | "direction" | "offset" | "position" | "items" | "groups" | "isOpen" | "possibleDirections" | "spareDirection" | "onClickOutside" | "onSetDirection" | "anchorRef" | "theme" | "sortGroup" | "onItemClick" | "subMenuDirection" | keyof import("./types").MappersItem | keyof MappersGroup> & import("react").RefAttributes & (GROUP extends { id: unknown; } ? {} : { getGroupId: ContextMenuPropGetGroupId; }) & (ITEM extends { label: import("react").ReactNode; } ? {} : { getItemLabel: ContextMenuPropGetItemLabel; }) & { getItemKey: ContextMenuPropGetItemKey | ContextMenuPropGetItemKey; getItemLabel: ContextMenuPropGetItemLabel | ContextMenuPropGetItemLabel; getItemRightSide: ContextMenuPropGetItemRightSide | ContextMenuPropGetItemRightSide; getItemLeftSide: ContextMenuPropGetItemLeftSide | ContextMenuPropGetItemLeftSide; getItemRightIcon: ContextMenuPropGetItemRightIcon | ContextMenuPropGetItemRightIcon; getItemLeftIcon: ContextMenuPropGetItemLeftIcon | ContextMenuPropGetItemLeftIcon; getItemSubMenu: ContextMenuPropGetItemSubMenu | ContextMenuPropGetItemSubMenu; getItemStatus: ContextMenuPropGetItemStatus | ContextMenuPropGetItemStatus; getItemDisabled: ContextMenuPropGetItemDisabled | ContextMenuPropGetItemDisabled; getItemOnClick: ContextMenuPropGetItemOnClick | ContextMenuPropGetItemOnClick; getItemAs: ContextMenuPropGetItemAs | ContextMenuPropGetItemAs; getItemAttributes: ContextMenuPropGetItemAttributes | ContextMenuPropGetItemAttributes; getItemGroupId: ContextMenuPropGetItemGroupId | ContextMenuPropGetItemGroupId; getGroupId: ContextMenuPropGetGroupId | ContextMenuPropGetGroupId; getGroupLabel: ContextMenuPropGetGroupLabel | ContextMenuPropGetGroupLabel; }); export declare const getGroup: (group: GROUP, props: Required>) => { id: number; name: string | undefined; }; export declare const getLevels: (params: GetLevelsParams) => Level[]; export declare const getItemIndex: (groupId: number | string, itemIndex: number) => string; export declare const sizeMapHeader: Record; export declare const sizeMapIcon: Record;