import { n as CompositeOptions } from "../composite-BoZZ9Es6.js";
import { TabStore } from "./tab-store.js";
import { Props } from "@ariakit/react-utils";
import { ElementType } from "react";
//#region src/tab/tab-list.d.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 });
 * <Role {...props}>
 *   <Tab>Tab 1</Tab>
 *   <Tab>Tab 2</Tab>
 * </Role>
 * <TabPanel store={store}>Panel 1</TabPanel>
 * <TabPanel store={store}>Panel 2</TabPanel>
 * ```
 */
declare const useTabList: import("@ariakit/react-utils").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}
 * <TabProvider>
 *   <TabList>
 *     <Tab>Tab 1</Tab>
 *     <Tab>Tab 2</Tab>
 *   </TabList>
 *   <TabPanel>Panel 1</TabPanel>
 *   <TabPanel>Panel 2</TabPanel>
 * </TabProvider>
 * ```
 */
declare const TabList: (props: TabListProps) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
interface TabListOptions<T extends ElementType = TagName> extends CompositeOptions<T> {
  /**
   * 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;
}
type TabListProps<T extends ElementType = TagName> = Props<T, TabListOptions<T>>;
//#endregion
export { TabList, TabListOptions, TabListProps, useTabList };
//# sourceMappingURL=tab-list.d.ts.map