/** More tools than this leave the menu for a modal, where they can be searched. */ export declare const TOOLS_IN_MENU = 6; /** The composer's + button. With only attachments it opens their panel, as it * always has, or the host's file picker; once the adapter lists tools it * opens a menu of Add files and Tools, whose submenu toggles each one. Past * TOOLS_IN_MENU, Tools opens a modal instead. A dot on the + says some tools * are off. */ export default function ComposerAddMenu({ attachmentsOpen, onToggleAttachments, onPickFiles, disabled, withTools, }: { attachmentsOpen: boolean; /** Absent when the composer takes no files, or the host takes them. */ onToggleAttachments?: (() => void) | undefined; /** Opens the picker for files the host takes, in place of the attachments panel. */ onPickFiles?: (() => void) | undefined; disabled: boolean; /** Offer the provider's tools, for a turn the provider runs. */ withTools: boolean; }): import("react").JSX.Element | null;