import type { ElementType } from "react"; import type { Props } from "../utils/types.ts"; import type { ToolbarItemOptions } from "./toolbar-item.tsx"; declare const TagName = "input"; type TagName = typeof TagName; /** * Returns props to create a `ToolbarInput` component. * @see https://ariakit.com/components/toolbar * @deprecated Use `useToolbarItem` instead. * @example * ```jsx * const store = useToolbarStore(); * const props = useToolbarInput({ store }); * * * * ``` */ export declare const useToolbarInput: import("../utils/types.ts").Hook<"input", ToolbarInputOptions<"input">>; /** * Renders a text input as a toolbar item, maintaining arrow key navigation on * the toolbar. * @see https://ariakit.com/components/toolbar * @deprecated Use `}>` instead. * @example * ```jsx {2} * * * * ``` */ export declare const ToolbarInput: (props: ToolbarInputProps) => import("react").ReactElement>; export interface ToolbarInputOptions extends ToolbarItemOptions { } export type ToolbarInputProps = Props>; export {};