import type { HTMLAttributes, ReactElement } from "react";
import { forwardRef } from "react";
import { TabsContent, TabsContents, type TabsContentsProps } from "./tabs-content";
import { TabsList, TabsTab, type TabsListProps } from "./tabs-list";
export interface TabsProps extends HTMLAttributes<HTMLDivElement> {
    children: ReactElement<TabsListProps | TabsContentsProps>[] | ReactElement;
    /**
     * Define which tab to use as default. Must be one of the <Tab/>s identifier.
     */
    defaultTab: string;
    /**
     * Change the default rendered element for the one passed as a child, merging their props and behavior.
     *
     * @default false
     */
    asChild?: boolean;
}
export declare const Tabs: TabsType;
type TabsType = ReturnType<typeof forwardRef<HTMLDivElement, TabsProps>> & {
    List: typeof TabsList;
    Tab: typeof TabsTab;
    Contents: typeof TabsContents;
    Content: typeof TabsContent;
};
export {};
//# sourceMappingURL=tabs.d.ts.map