import React from "react"; import type { ComposerMode } from "./types.js"; export interface ComposerTerminalModeControl { enabled: boolean; onChange: (enabled: boolean) => void; onNewTerminal?: () => void; } interface ComposerPlusMenuProps { onSelectMode?: (mode: ComposerMode) => void; onAttachmentError?: (message: string) => void; /** * Show the "Create Extension" entry. Extensions are optional and hidden * unless the host explicitly enables their agent tool surface. */ extensionTools?: boolean; /** * "full" (default): full + menu with Upload File, Create Skill, Schedule Task, * Automation, and MCP Server. Extension is included only when * `extensionTools` is true. "upload-only": clicking + opens the file picker * directly — no popover, no other modes. Use for prompt popovers where the * only thing to attach is a file. "terminal": one new-terminal action plus * the Terminal mode switch. */ mode?: "full" | "upload-only" | "terminal"; terminalModeControl?: ComposerTerminalModeControl; } export declare function isExtensionComposerMenuEnabled(extensionTools?: boolean): boolean; export declare function ComposerPlusMenu({ onSelectMode, onAttachmentError, extensionTools, mode, terminalModeControl, }: ComposerPlusMenuProps): React.JSX.Element; export {}; //# sourceMappingURL=ComposerPlusMenu.d.ts.map