import { AriaLabelingProps, DOMAttributes, DOMProps, Key, RefObject } from '@react-types/shared'; import { TabListState } from 'react-stately/useTabListState'; export interface AriaTabPanelProps extends Omit, AriaLabelingProps { /** The unique id of the tab. */ id?: Key; } export interface TabPanelAria { /** Props for the tab panel element. */ tabPanelProps: DOMAttributes; } /** * Provides the behavior and accessibility implementation for a tab panel. A tab panel is a container for * the contents of a tab, and is shown when the tab is selected. */ export declare function useTabPanel(props: AriaTabPanelProps, state: TabListState | null, ref: RefObject): TabPanelAria;