import { CompositeSeparatorOptions } from "../composite/composite-separator.js";
import { t as ToolbarStore } from "../toolbar-store-nJ6t0Bzm.js";
import { Props } from "@ariakit/react-utils";
import { ElementType } from "react";
//#region src/toolbar/toolbar-separator.d.ts
declare const TagName = "hr";
type TagName = typeof TagName;
/**
 * Returns props to create a `ToolbarSeparator` component.
 * @see https://ariakit.com/components/toolbar
 * @example
 * ```jsx
 * const store = useToolbarStore();
 * const props = useToolbarSeparator({ store });
 * <Toolbar store={store}>
 *   <ToolbarItem>Item 1</ToolbarItem>
 *   <Role {...props} />
 *   <ToolbarItem>Item 2</ToolbarItem>
 * </Toolbar>
 * ```
 */
declare const useToolbarSeparator: import("@ariakit/react-utils").Hook<"hr", ToolbarSeparatorOptions<"hr">>;
/**
 * Renders a divider between
 * [`ToolbarItem`](https://ariakit.com/reference/toolbar-item) elements.
 * @see https://ariakit.com/components/toolbar
 * @example
 * ```jsx {3}
 * <Toolbar>
 *   <ToolbarItem>Item 1</ToolbarItem>
 *   <ToolbarSeparator />
 *   <ToolbarItem>Item 2</ToolbarItem>
 * </Toolbar>
 * ```
 */
declare const ToolbarSeparator: (props: ToolbarSeparatorProps) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
interface ToolbarSeparatorOptions<T extends ElementType = TagName> extends CompositeSeparatorOptions<T> {
  /**
   * Object returned by the
   * [`useToolbarStore`](https://ariakit.com/reference/use-toolbar-store) hook.
   * If not provided, the closest
   * [`Toolbar`](https://ariakit.com/reference/toolbar) component's context will
   * be used.
   */
  store?: ToolbarStore;
}
type ToolbarSeparatorProps<T extends ElementType = TagName> = Props<T, ToolbarSeparatorOptions<T>>;
//#endregion
export { ToolbarSeparator, ToolbarSeparatorOptions, ToolbarSeparatorProps, useToolbarSeparator };
//# sourceMappingURL=toolbar-separator.d.ts.map