/**************************************************************************** * Copyright 2021 EPAM Systems * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. ***************************************************************************/ import React from 'react'; import { MenuContext } from '../../contexts'; import { GroupProps, MenuProps } from './types'; declare const Menu: { ({ children, onItemClick, activeMenuItems, testId, isHorizontal, }: React.PropsWithChildren): import("@emotion/react/jsx-runtime").JSX.Element; Group: ({ children, divider, isHorizontal, }: React.PropsWithChildren) => import("@emotion/react/jsx-runtime").JSX.Element; Item: ({ itemId, title, disabled, testId, onClick, type, }: { itemId: "α" | "β" | "γ" | "δ" | "ε" | "ζ" | "η" | "θ" | "ι" | "κ" | "λ" | "μ" | "ν" | "ξ" | "ο" | "π" | "ρ" | "σ" | "τ" | "υ" | "φ" | "χ" | "ψ" | "ω" | "Å" | "°" | "ħ" | "±" | "‰" | "√" | "←" | "→" | "←/" | "/→" | "↔" | "∏" | "∑" | "∞" | "∂" | "∆" | "∫" | "≈" | "=/" | "≤" | "≥" | "℉" | "℃" | "about" | "analyse" | "any-atom" | "arom" | "arrow-upward" | "bonds" | "bond-any" | "bond-aromatic" | "bond-crossed" | "bond-hydrogen" | "bond-dative" | "bond-double" | "bond-doublearomatic" | "bond-down" | "bond-single" | "bond-singlearomatic" | "bond-singledouble" | "bond-triple" | "bond-up" | "bond-updown" | "capital-t" | "chain" | "charge-minus" | "charge-plus" | "check" | "check-mark" | "chiral-flag" | "cip" | "clean" | "copies" | "copy" | "copy-image" | "copy-mol" | "copy-ket" | "copyMenu" | "cut" | "dearom" | "delete" | "deleteMenu" | "dropdown" | "enhanced-stereo" | "edit" | "elements-group" | "extended-table" | "erase" | "file-thumbnail" | "fullscreen-enter" | "fullscreen-exit" | "generic-groups" | "hand" | "compressedhand" | "help" | "history" | "image-frame" | "layout" | "logo" | "miew" | "macromolecules-mode" | "molecules-mode" | "clear" | "open" | "paste" | "editMenu" | "pasteNavBar" | "period-table" | "arrows" | "reaction-arrow-elliptical-arc-arrow-filled-bow" | "reaction-arrow-elliptical-arc-arrow-filled-triangle" | "reaction-arrow-elliptical-arc-arrow-open-angle" | "reaction-arrow-elliptical-arc-arrow-open-half-angle" | "reaction-arrow-open-angle" | "reaction-arrow-filled-triangle" | "reaction-arrow-filled-bow" | "reaction-arrow-dashed-open-angle" | "reaction-arrow-failed" | "reaction-arrow-retrosynthetic" | "reaction-arrow-both-ends-filled-triangle" | "reaction-arrow-equilibrium-filled-half-bow" | "reaction-arrow-equilibrium-filled-triangle" | "reaction-arrow-equilibrium-open-angle" | "reaction-arrow-unbalanced-equilibrium-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-open-half-angle" | "reaction-arrow-unbalanced-equilibrium-large-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-filled-half-triangle" | "reaction-arrow-multitail" | "reaction-automap" | "reaction-mapping-tools" | "reaction-map" | "reaction-plus" | "reaction-unmap" | "recognize" | "redo" | "rgroup" | "rgroup-attpoints" | "rgroup-fragment" | "rgroup-label" | "save" | "search" | "select-fragment" | "select-lasso" | "select-rectangle" | "settings" | "sgroup" | "template-0" | "template-1" | "template-2" | "template-3" | "template-4" | "template-5" | "template-6" | "template-7" | "template-dialog" | "template-lib" | "snake-mode" | "text" | "images" | "text-bold" | "text-italic" | "text-subscript" | "text-superscript" | "transform-flip-h" | "transform-flip-v" | "undo" | "zoom-in" | "zoom-out" | "zoom-reset" | "shapes" | "shape-ellipse" | "shape-rectangle" | "shape-polyline" | "shape-line" | "not-found" | "save-1" | "open-1" | "reset" | "close" | "general" | "general-white" | "stereo" | "stereo-white" | "atoms" | "atoms-white" | "bond-common" | "bonds-white" | "server" | "server-white" | "3dviewer" | "3dviewer-white" | "debugging" | "debugging-white" | "dropdown-indicator" | "text-special-symbols" | "chevron" | "open-window-paste-icon" | "open-window-upload-icon" | "bracket" | "error" | "rap-left-link" | "rap-middle-link" | "rap-right-link" | "arrows-left" | "arrows-right" | "sugar" | "base" | "phosphate" | "preset" | "nucleotide" | "peptide" | "chem" | "edit-filled" | "vertical-dots" | "expand" | "minimize-expansion" | "explicit-hydrogens" | "flex-layout-mode" | "snake-layout-mode" | "sequence-layout-mode" | "questionMark" | "no-highlight-cross" | "arrowsUpDown" | "plus" | "antisenseStrand" | "antisenseRnaStrand" | "antisenseDnaStrand" | "arrange-ring" | "monomer-autochain" | "create-monomer" | "checkFilled" | "warningFilled" | "leavingGroup" | "connectionPoint"; title?: string | undefined; testId?: string | undefined; disabled?: boolean | undefined; onClick?: (() => void) | undefined; type?: "icon-button" | "button" | undefined; }) => import("@emotion/react/jsx-runtime").JSX.Element; Submenu: ({ children, vertical, autoSize, disabled, needOpenByMenuItemClick, testId, layoutModeButton, generalTitle, activeItem, subMenuId, }: React.PropsWithChildren<{ vertical?: boolean | undefined; autoSize?: boolean | undefined; disabled?: boolean | undefined; needOpenByMenuItemClick?: boolean | undefined; testId?: string | undefined; layoutModeButton?: boolean | undefined; generalTitle?: string | undefined; activeItem?: "α" | "β" | "γ" | "δ" | "ε" | "ζ" | "η" | "θ" | "ι" | "κ" | "λ" | "μ" | "ν" | "ξ" | "ο" | "π" | "ρ" | "σ" | "τ" | "υ" | "φ" | "χ" | "ψ" | "ω" | "Å" | "°" | "ħ" | "±" | "‰" | "√" | "←" | "→" | "←/" | "/→" | "↔" | "∏" | "∑" | "∞" | "∂" | "∆" | "∫" | "≈" | "=/" | "≤" | "≥" | "℉" | "℃" | "about" | "analyse" | "any-atom" | "arom" | "arrow-upward" | "bonds" | "bond-any" | "bond-aromatic" | "bond-crossed" | "bond-hydrogen" | "bond-dative" | "bond-double" | "bond-doublearomatic" | "bond-down" | "bond-single" | "bond-singlearomatic" | "bond-singledouble" | "bond-triple" | "bond-up" | "bond-updown" | "capital-t" | "chain" | "charge-minus" | "charge-plus" | "check" | "check-mark" | "chiral-flag" | "cip" | "clean" | "copies" | "copy" | "copy-image" | "copy-mol" | "copy-ket" | "copyMenu" | "cut" | "dearom" | "delete" | "deleteMenu" | "dropdown" | "enhanced-stereo" | "edit" | "elements-group" | "extended-table" | "erase" | "file-thumbnail" | "fullscreen-enter" | "fullscreen-exit" | "generic-groups" | "hand" | "compressedhand" | "help" | "history" | "image-frame" | "layout" | "logo" | "miew" | "macromolecules-mode" | "molecules-mode" | "clear" | "open" | "paste" | "editMenu" | "pasteNavBar" | "period-table" | "arrows" | "reaction-arrow-elliptical-arc-arrow-filled-bow" | "reaction-arrow-elliptical-arc-arrow-filled-triangle" | "reaction-arrow-elliptical-arc-arrow-open-angle" | "reaction-arrow-elliptical-arc-arrow-open-half-angle" | "reaction-arrow-open-angle" | "reaction-arrow-filled-triangle" | "reaction-arrow-filled-bow" | "reaction-arrow-dashed-open-angle" | "reaction-arrow-failed" | "reaction-arrow-retrosynthetic" | "reaction-arrow-both-ends-filled-triangle" | "reaction-arrow-equilibrium-filled-half-bow" | "reaction-arrow-equilibrium-filled-triangle" | "reaction-arrow-equilibrium-open-angle" | "reaction-arrow-unbalanced-equilibrium-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-open-half-angle" | "reaction-arrow-unbalanced-equilibrium-large-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-filled-half-triangle" | "reaction-arrow-multitail" | "reaction-automap" | "reaction-mapping-tools" | "reaction-map" | "reaction-plus" | "reaction-unmap" | "recognize" | "redo" | "rgroup" | "rgroup-attpoints" | "rgroup-fragment" | "rgroup-label" | "save" | "search" | "select-fragment" | "select-lasso" | "select-rectangle" | "settings" | "sgroup" | "template-0" | "template-1" | "template-2" | "template-3" | "template-4" | "template-5" | "template-6" | "template-7" | "template-dialog" | "template-lib" | "snake-mode" | "text" | "images" | "text-bold" | "text-italic" | "text-subscript" | "text-superscript" | "transform-flip-h" | "transform-flip-v" | "undo" | "zoom-in" | "zoom-out" | "zoom-reset" | "shapes" | "shape-ellipse" | "shape-rectangle" | "shape-polyline" | "shape-line" | "not-found" | "save-1" | "open-1" | "reset" | "close" | "general" | "general-white" | "stereo" | "stereo-white" | "atoms" | "atoms-white" | "bond-common" | "bonds-white" | "server" | "server-white" | "3dviewer" | "3dviewer-white" | "debugging" | "debugging-white" | "dropdown-indicator" | "text-special-symbols" | "chevron" | "open-window-paste-icon" | "open-window-upload-icon" | "bracket" | "error" | "rap-left-link" | "rap-middle-link" | "rap-right-link" | "arrows-left" | "arrows-right" | "sugar" | "base" | "phosphate" | "preset" | "nucleotide" | "peptide" | "chem" | "edit-filled" | "vertical-dots" | "expand" | "minimize-expansion" | "explicit-hydrogens" | "flex-layout-mode" | "snake-layout-mode" | "sequence-layout-mode" | "questionMark" | "no-highlight-cross" | "arrowsUpDown" | "plus" | "antisenseStrand" | "antisenseRnaStrand" | "antisenseDnaStrand" | "arrange-ring" | "monomer-autochain" | "create-monomer" | "checkFilled" | "warningFilled" | "leavingGroup" | "connectionPoint" | undefined; subMenuId?: string | undefined; }>) => import("@emotion/react/jsx-runtime").JSX.Element; }; export { Menu, MenuContext };