tlmenus: {
  _hiddenMenus: string[]
  menus: import('@tldraw/state').Atom<string[], unknown>
  addOpenMenu(id: string, contextId?: string): void
  clearOpenMenus(contextId?: string): void
  deleteOpenMenu(id: string, contextId?: string): void
  getOpenMenus(contextId?: string): string[]
  isMenuOpen(id: string, contextId?: string): boolean
  hasOpenMenus(contextId: string): boolean
  hasAnyOpenMenus(): boolean
  hideOpenMenus(contextId?: string): void
  showOpenMenus(contextId?: string): void
  forContext(contextId: string): {
    addOpenMenu: (id: string) => void
    clearOpenMenus: () => void
    deleteOpenMenu: (id: string) => void
    getOpenMenus: () => string[]
    hasAnyOpenMenus: () => boolean
    hasOpenMenus: () => boolean
    isMenuOpen: (id: string) => boolean
  }
}
Prev
tlenv
Next
tltime