import { ToolbarItemOptions } from "./toolbar-item.js";
import { Props } from "@ariakit/react-utils";
import { ElementType } from "react";
//#region src/toolbar/toolbar-input.d.ts
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 });
 * <Toolbar store={store}>
 *   <Role {...props} />
 * </Toolbar>
 * ```
 */
declare const useToolbarInput: import("@ariakit/react-utils").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 `<ToolbarItem render={<input />}>` instead.
 * @example
 * ```jsx {2}
 * <Toolbar>
 *   <ToolbarInput />
 * </Toolbar>
 * ```
 */
declare const ToolbarInput: (props: ToolbarInputProps) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
interface ToolbarInputOptions<T extends ElementType = TagName> extends ToolbarItemOptions<T> {}
type ToolbarInputProps<T extends ElementType = TagName> = Props<T, ToolbarInputOptions<T>>;
//#endregion
export { ToolbarInput, ToolbarInputOptions, ToolbarInputProps, useToolbarInput };
//# sourceMappingURL=toolbar-input.d.ts.map