import "./markdown_toolbar.css"; import type * as React from "react"; import { Toolbar } from "@base-ui/react/toolbar"; import type { MarkdownEditorHandle } from "@lotics/markdown-editor/editor_view"; import { type StyleProps } from "./style_props"; interface MarkdownToolbarProps extends StyleProps { handle: MarkdownEditorHandle | null; disabled?: boolean; /** Defaults to the `markdownToolbar` slice's `label`, since an unnamed `role="toolbar"` announces * nothing; pass one only where a page has two. */ "aria-label"?: string; testID?: string; ref?: React.Ref; render?: Toolbar.Root.Props["render"]; } /** Renders with or without an editor, enabled or not, the buttons going inert: presence is the caller's * (`MarkdownEditor`'s `toolbar`), since a band arriving on mount or focus moves everything under the * reader. A Base UI `Toolbar`, allowed because it holds one function and no text field; a composite * selects a field's whole value on focus and claims its arrow keys. */ export declare function MarkdownToolbar(props: MarkdownToolbarProps): React.JSX.Element; export {};