import type { ElementType } from "react"; import type { SeparatorOptions } from "../separator/separator.tsx"; import type { Props } from "../utils/types.ts"; import type { CompositeStore } from "./composite-store.ts"; declare const TagName = "hr"; type TagName = typeof TagName; /** * Returns props to create a `CompositeSeparator` component. * @see https://ariakit.com/components/composite * @example * ```jsx * const store = useCompositeStore(); * const props = useCompositeSeparator({ store }); * * Item 1 * * Item 2 * * ``` */ export declare const useCompositeSeparator: import("../utils/types.ts").Hook<"hr", CompositeSeparatorOptions<"hr">>; /** * Renders a divider between * [`CompositeItem`](https://ariakit.com/reference/composite-item) elements. * @see https://ariakit.com/components/composite * @example * ```jsx {4} * * * Item 1 * * Item 2 * * * ``` */ export declare const CompositeSeparator: (props: CompositeSeparatorProps) => import("react").ReactElement>; export interface CompositeSeparatorOptions extends SeparatorOptions { /** * Object returned by the * [`useCompositeStore`](https://ariakit.com/reference/use-composite-store) * hook. If not provided, the closest * [`Composite`](https://ariakit.com/reference/composite) or * [`CompositeProvider`](https://ariakit.com/reference/composite-provider) * components' context will be used. */ store?: CompositeStore; /** * The orientation of the separator. By default, this is the opposite of the * [`orientation`](https://ariakit.com/reference/composite-provider#orientation) * state of the composite widget. Which means it doesn't need to be explicitly * set in most cases. */ orientation?: SeparatorOptions["orientation"]; } export type CompositeSeparatorProps = Props>; export {};