import { type ReactNode } from 'react'; import type { ToolbarAction } from '../editor/plugin'; /** `logo` is the plugin override slot. `undefined` means no plugin claimed it * (toolbar falls back to the built-in Mudlet logo); any other value — including * `null` — is rendered as-is, so a plugin can explicitly hide the slot. * `transformActions` is the composed plugin transform applied to the built-in * file-action list (see EditorPlugin#toolbarActions). */ export declare function Toolbar({ title, logo, transformActions, onHelpClick, onLoadFromUrl, onSave, onSearchClick, onSettingsClick, onDiffClick }: { title?: string; logo?: ReactNode; transformActions?: (actions: ToolbarAction[]) => ToolbarAction[]; onHelpClick: () => void; onLoadFromUrl: () => void; onSave?: (bytes: Uint8Array) => void; onSearchClick?: () => void; onSettingsClick?: () => void; onDiffClick?: () => void; }): import("react").JSX.Element;