import type { ElementType } from "react"; import type { CompositeOptions } from "../composite/composite.tsx"; import type { Props } from "../utils/types.ts"; import type { TabStore } from "./tab-store.ts"; declare const TagName = "div"; type TagName = typeof TagName; /** * Returns props to create a `TabList` component. * @see https://ariakit.com/components/tab * @example * ```jsx * const store = useTabStore(); * const props = useTabList({ store }); * * Tab 1 * Tab 2 * * Panel 1 * Panel 2 * ``` */ export declare const useTabList: import("../utils/types.ts").Hook<"div", TabListOptions<"div">>; /** * Renders a composite tab list wrapper for * [`Tab`](https://ariakit.com/reference/tab) elements. * @see https://ariakit.com/components/tab * @example * ```jsx {2-5} * * * Tab 1 * Tab 2 * * Panel 1 * Panel 2 * * ``` */ export declare const TabList: (props: TabListProps) => import("react").ReactElement>; export interface TabListOptions extends CompositeOptions { /** * Object returned by the * [`useTabStore`](https://ariakit.com/reference/use-tab-store) hook. If not * provided, the closest * [`TabProvider`](https://ariakit.com/reference/tab-provider) component's * context will be used. */ store?: TabStore; } export type TabListProps = Props>; export {};